Specification 2.1.1
May 1, 2006
© 2006 Intuit Inc., Microsoft Corp., CheckFree Corp. All rights reserved
ii
Open Financial Exchange Specification Legend
Open Financial Exchange Specification ©1996-2006 by its publishers: CheckFree Corp., Intuit Inc., and
Microsoft Corporation. All rights reserved.
A royalty-free, worldwide, and perpetual license is hereby granted to any party to use the Open Financial
Exchange Specification to make, use, and sell products and services that conform to this Specification.
THIS OPEN FINANCIAL EXCHANGE SPECIFICATION IS MADE AVAILABLE “AS IS” WITHOUT
WARRANTY OF ANY KIND. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
MICROSOFT, INTUIT AND CHECKFREE (“PUBLISHERS”) FURTHER DISCLAIM ALL
WARRANTIES, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT, ALL
OF WHICH ARE HEREBY DISCLAIMED. THE ENTIRE RISK ARISING OUT OF THE USE OF
THIS SPECIFICATION REMAINS WITH RECIPIENT. TO THE MAXIMUM EXTENT PERMITTED
BY APPLICABLE LAW, IN NO EVENT SHALL THE PUBLISHERS OF THIS SPECIFICATION BE
LIABLE FOR ANY CONSEQUENTIAL, INCIDENTAL, DIRECT, INDIRECT, SPECIAL, PUNITIVE,
OR OTHER DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION,
OR OTHER PECUNIARY LOSS) ARISING OUT OF ANY USE TO WHICH THIS SPECIFICATION
IS PUT, EVEN IF THE PUBLISHERS HEREOF HAVE BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
OFX 2.1.1 Specification iii5/1/06
TABLE OF CONTENTS
Chapter 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.1Introduction..............................................................17
1.1.1DesignPrinciples ....................................................18
1.2OpenFinancialExchangeataGlance ........................................20
1.2.1DataTransport.......................................................20
1.2.2RequestandResponseModel ..........................................22
1.2.3HTTPFormRequestandResponseModel ...............................24
1.3Definitions ...............................................................25
1.3.1User ................................................................25
1.3.2FinancialInstitution.................. .... ............................25
1.3.3ServiceProvider ....................................... ..............25
1.3.4Client...... .........................................................25
1.3.5Server ..............................................................25
1.3.6Service..............................................................25
1.3.7Tag................................. ................................26
1.3.8Element...... .......................................................26
1.3.9Aggregate...........................................................26
1.3.10Request ............................................................27
1.3.11Response...........................................................27
1.3.12Message ...........................................................27
1.3.13Transaction.........................................................27
1.3.14Synchronization.. ...................................................27
1.3.15MessageSet........................................................28
1.4OFXVersions.. ...........................................................28
1.5Conventions..............................................................30
Chapter 2 Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.1HTTPHeaders............................................................34
2.2OpenFinancialExchangeFileFormat... .....................................34
2.2.1OFXHEADER ............................................. ..........36
2.2.2VERSION...........................................................36
2.2.3SECURITY..........................................................36
2.2.4OLDFILEUIDandNEWFILEUID ......................................36
2.3XMLDetails..............................................................37
2.3.1Compliance .........................................................37
iv OFX 2.1.1 Specification5/1/06
2.4OpenFinancialExchangeXMLStructure....................................37
2.4.1Overview ..........................................................37
2.4.2CaseSensitivity.....................................................37
2.4.3TopLevel..........................................................38
2.4.4Messages...........................................................38
2.4.5MessageSetsandVersionControl .....................................40
2.4.6Transactions ........................................................43
2.4.7SynchronizationWrapper............................... .............46
2.4.8MessageSetWrapper ................................... .............46
2.5TheSignonMessageSet.................... ...............................46
2.5.1Signon<SONRQ>and<SONRS>......................................46
2.5.2USERPASSChange<PINCHRQ><PINCHRS>..........................54
2.5.3<CHALLENGERQ><CHALLENGERS> ................................56
2.5.4<MFACHALLENGERQ><MFACHALLENGERS> .......................57
2.5.5SignonMessageSetProfileInformation................................61
2.5.6Examples...........................................................62
2.6ExternalDataSupport....................................................69
2.7ExtensionstoOpenFinancialExchange.....................................71
2.8BackwardCompatibilitywithPreOFX2.1.1Systems............ .............71
2.8.1EndTagUsage......................................... .............71
2.8.2XMLCompliantHeader..............................................72
2.8.3InternationalSupport ................................................72
2.8.4MessageSetVersioning..............................................73
Chapter 3 Common Aggregates, Elements, and Data Types . . . . . . . . . . . . . 75
3.1CommonAggregates.....................................................75
3.1.1IdentificationofFinancialInstitutionsandAccounts.....................75
3.1.2PunctuationinCertainUserSuppliedValues...........................75
3.1.3EchoinginResponses ................................... .............77
3.1.4BalanceRecords<BAL>..............................................77
3.1.5ErrorReporting<STATUS> ...........................................78
3.1.6CommonAggregatesrelatedtoImages ................................79
3.2CommonElements .......................................................82
3.2.1ClientAssignedTransactionUID<TRNUID>...........................82
3.2.2ServerAssignedID<SRVRTID>.......................................82
3.2.3FinancialInstitutionTransactionID<FITID> ............................83
3.2.4Token<TOKEN> ....................................................85
3.2.5TransactionAmount<TRNAMT> .....................................85
3.2.6Memo<MEMO> ....................................................85
OFX 2.1.1 Specification v5/1/06
3.2.7DateStartandDateEnd<DTSTART><DTEND>.........................86
3.2.8CommonDataTypes.................................................88
3.2.9Amounts,Prices,andQuantities ......................... ..............91
3.2.10Language..........................................................92
3.2.11OtherBasicDataTypes..............................................92
Chapter 4 OFX Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
4.1SecurityConceptsinOFX..................................................93
4.1.1Architecture .........................................................93
4.1.2SecurityGoals.......................................................94
4.1.3SecurityStandards ...................................................94
4.1.4FIResponsibilities ....................................................95
4.1.5SecurityLevels:Channelvs.Application................................96
4.2SecurityImplementationinOFX............................................97
4.2.1ChannelLevelSecurity ...............................................97
4.2.2ApplicationLevelSecurity............................................99
Chapter 5 International Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
5.1LanguageandEncoding..................................................105
5.2Currency<CURDEF><CURRENCY><ORIGCURRENCY>....................105
5.3CountrySpecificElementValues.............................. .............107
Chapter 6 Data Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
6.1Overview ...............................................................109
6.2Background .............................................................109
6.3DataSynchronizationApproach...........................................110
6.4DataSynchronizationSpecifics ............................................111
6.4.1Tokens........................................................... ..111
6.4.2TheSynchronizationProcess..........................................112
6.4.3SynchronizableObjects ..............................................114
6.4.4TokenandFullSynchronizationSummary .............................114
6.5ConflictDetectionandResolution ........... ...............................116
6.6SynchronizationOptions............................ ......................116
6.6.1SynchronizationErrors ..............................................118
6.7TypicalServerArchitectureforSynchronization .............................118
6.8TypicalClientProcessingofSynchronizationResults................ .........120
vi OFX 2.1.1 Specification5/1/06
6.9SimultaneousConnections...............................................121
6.10SynchronizationAlternatives............................................121
6.10.1FileBasedErrorRecovery..........................................122
6.10.2LiteSynchronization............................ ...................124
6.10.3RelatingSynchronizationandErrorRecovery ........................124
6.11Examples .............................................................126
Chapter 7 FI Profile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
7.1Overview........................................................... ...129
7.1.1MessageSets ......................................................129
7.1.2VersionControl ....................................................130
7.1.3BatchingandRouting ...............................................131
7.1.4ClientSignonforProfileRequests ....................................131
7.1.5ProfileRequest<PROFRQ>..........................................132
7.2ProfileResponse<PROFRS>..............................................133
7.2.1MessageSet ...................................... .................134
7.2.2SignonRealms ......................................... ............136
7.2.3StatusCodes.. .....................................................137
7.3ProfileMessageSetProfileInformation....................................137
Chapter 8 Activation & Account Information . . . . . . . . . . . . . . . . . . . . . . . . . 139
8.1Overview........................................................... ...139
8.2ApproachestoUserSignUpwithOFX ....................................139
8.3UsersandAccounts.....................................................140
8.4EnrollmentandPasswordAcquisition....... ..............................140
8.4.1UserIDs ..........................................................141
8.4.2EnrollmentRequest<ENROLLRQ> ...................................141
8.4.3EnrollmentResponse<ENROLLRS>............................... ...142
8.4.4EnrollmentStatusCodes............................................143
8.4.5Examples..........................................................144
8.5AccountInformation ....................................................145
8.5.1Request<ACCTINFORQ> ...........................................146
8.5.2Response<ACCTINFORS>..........................................146
8.5.3AccountInformationAggregate<ACCTINFO>.........................147
8.5.4StatusCodes.. .....................................................147
8.5.5Examples..........................................................148
8.6ServiceActivation.......................................................149
OFX 2.1.1 Specification vii5/1/06
8.6.1ActivationRequest<ACCTRQ>.......... .............................149
8.6.2ActivationResponse<ACCTRS> ......................................151
8.6.3StatusCodes........................................................152
8.6.4ServiceActivationSynchronization ......................... ...........153
8.6.5Examples ..........................................................154
8.7NameandAddressChanges ..............................................155
8.7.1ChangeUserInformationRequest<CHGUSERINFORQ>.................155
8.7.2ChangeUserInformationResponse<CHGUSERINFORS> ................156
8.7.3StatusCodes........................................................156
8.7.4ChangeUserInformationSynchronization .............................157
8.8SignupMessageSetProfileInformation.....................................158
Chapter 9 Customer to FI Communication . . . . . . . . . . . . . . . . . . . . . . . . . . 161
9.1TheEMailMessageSet...................................................161
9.2EMailMessages .........................................................161
9.2.1Regularvs.SpecializedEMail........................................162
9.2.2Basic<MAIL>Aggregate .............................................162
9.2.3EMail<MAILRQ><MAILRS>........................................164
9.2.4EMailSynchronization<MAILSYNCRQ><MAILSYNCRS>..............166
9.2.5EMailExample ........................................ .............167
9.3GetHTMLPage .........................................................170
9.3.1MIMEGetRequestandResponse<GETMIMERQ><GETMIMERS>........170
9.3.2MIMEExample........................................ .............171
9.4MessageSetsandProfile ..................................................173
9.4.1MessageSetandMessages ...........................................173
9.4.2EMailMessageSetProfile ...........................................173
Chapter 10 Recurring Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
10.1CreatingaRecurringModel........................ .... ..................175
10.2RecurringInstructions<RECURRINST>....................................176
10.2.1Valuesfor<FREQ>.................................................176
10.2.2Examples .........................................................177
10.3RetrievingTransactionsGeneratedbyaRecurringModel....................179
10.3.1ModelsandSyncBehavior ..........................................179
10.4ModifyingandCancelingIndividualTransactions ..........................179
10.5ModifyingandCancelingRecurringModels................................180
10.5.1Examples .........................................................180
viii OFX 2.1.1 Specification5/1/06
10.6ExpiredModels ........................................................183
Chapter 11 Banking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
11.1ConsumerandBusinessBanking.........................................185
11.1.1LoanData ........................................................185
11.2CreditCardData.......................................................185
11.3CommonBankingAggregates...........................................185
11.3.1BankingAccount<BANKACCTFROM>and<BANKACCTTO>.........186
11.3.2CreditCardAccount<CCACCTFROM>and<CCACCTTO>............190
11.3.3BankAccountInformation<BANKACCTINFO>.......................191
11.3.4CreditCardAccountInformation<CCACCTINFO>....................192
11.3.5TransferInformation<XFERINFO>..................................192
11.3.6TransferProcessingStatus<XFERPRCSTS> ...........................195
11.3.7LoanAccount<LOANACCTFROM>and<LOANACCTTO> ............196
11.3.8LoanAccountInformation<LOANACCTINFO> ......................197
11.3.9LoanTransactionAmount<LOANTRNAMT> ........................201
11.4DownloadingTransactionsandBalances ..................................202
11.4.1BankStatementDownload .................... .....................203
11.4.2CreditCardStatementDownload ...................................205
11.4.3StatementTransaction<STMTTRN>.................................209
11.4.4LoanStatementDownload ........... ..............................213
11.4.5LoanStatementTransaction<LOANSTTMTTRN>.....................216
11.4.6AmortizationScheduleDownload ...................................219
11.5StatementClosingInformation...........................................222
11.5.1StatementClosingDownload.......................................222
11.5.2NonCreditCardStatement<CLOSING>.............................224
11.5.3CreditCardStatementClosingRequest<CCSTMTENDRQ> ............225
11.5.4CreditCardStatementClosingResponse<CCSTMTENDRS> ...........226
11.5.5LoanStatementEndRequest<LOANSTMTENDRQ> ..................229
11.5.6LoanStatementEndResponse<LOANSTMTENDRS>..................229
11.5.7StatusCodes......................................................230
11.5.8LoanClosing<LOANCLOSING>....................................231
11.6StopCheck .............................. ..............................234
11.6.1StopCheckAdd...................................................235
11.6.2StatusCodes......................................................238
11.7IntrabankFundsTransfer...............................................239
11.7.1IntrabankFundsTransferAddition ..................................240
11.7.2IntrabankFundsTransferModification...............................243
OFX 2.1.1 Specification ix5/1/06
11.7.3IntrabankFundsTransferCancellation ................................246
11.8InterbankFundsTransfer................................................248
11.8.1InterbankFundsTransferUS .......................................248
11.8.2InterbankFundsTransferInternationalUsage ........................249
11.8.3InterbankFundsTransferModification ...............................252
11.8.4InterbankFundsTransferCancellation ................................255
11.9WireFundsTransfer ....................................................257
11.9.1WireFundsTransferAddition.......................................258
11.9.2WireFundsTransferCancellation....................................262
11.10RecurringFundsTransfer ...............................................264
11.10.1RecurringIntrabankFundsTransferAddition ........................264
11.10.2RecurringIntrabankFundsTransferModification........ .. ...........267
11.10.3RecurringIntrabankFundsTransferCancellation ................. ....270
11.10.4RecurringInterbankFundsTransferAddition ........................271
11.10.5RecurringInterbankFundsTransferModification.....................274
11.10.6RecurringInterbankFundsTransferCancellation . .. ..................277
11.11EMailandCustomerNotification........................................279
11.11.1BankingEMail.. .................................................279
11.11.2Notifications....................... ...............................282
11.11.3ReturnedCheckandDepositNotification ............................283
11.11.4LoanEMail......................................................285
11.12DataSynchronizationforBanking........................................287
11.12.1DataSynchronizationforStopCheck ................................287
11.12.2DataSynchronizationforIntrabankFundsTransfers...................288
11.12.3DataSynchronizationforInterbankFundsTransfers ............... .. ..291
11.12.4DataSynchronizationforWireFundsTransfers.......................293
11.12.5DataSynchronizationforRecurringIntrabankFundsTransfers .........294
11.12.6DataSynchronizationforRecurringInterbankFundsTransfers .........296
11.12.7DataSynchronizationforBankMail.................................298
11.12.8DataSynchronizationforLoanMail.................................300
11.13MessageSetsandProfile ................................................302
11.13.1MessageSetsandMessages.........................................303
11.13.2BankMessageSetProfile ...........................................310
11.13.3CreditCardMessageSetProfile .....................................312
11.13.4InterbankFundsTransferMessageSetProfile .........................313
11.13.5WireTransferMessageSetProfile...................................314
11.13.6LoanMessageSetProfile ...........................................315
11.14Examples.............................................................316
x OFX 2.1.1 Specification5/1/06
11.14.1StatementDownload .............................................316
11.14.2IntrabankFundsTransfer .........................................318
11.14.3StopCheck......................................................320
11.14.4RecurringTransfers...............................................323
11.14.5Loans ...........................................................333
Chapter 12 Payments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
12.1ConsumerandBusinessPayments .......................................343
12.2ThePayeeModel.......................................................343
12.2.1PayeeIdentifiers ............................. .....................343
12.2.2PayeeLists................ .... ...................................344
12.2.3StandardPayeeLists...............................................345
12.2.4IdentifyingPayees.................................................346
12.2.5SideEffectsofPayeeAddsandModifications ........................ .347
12.3IdentifiersUsedinPaymentTransactions ............ .. ...................347
12.4ThePaymentLifeCycle .................................................349
12.4.1PaymentCreation.................................................349
12.4.2PaymentModification .............................................349
12.4.3PaymentStatusInquiry................................ ............350
12.4.4PaymentCancellation..............................................350
12.4.5DelayedPayeeMatching...........................................350
12.5CommonPaymentsAggregates ..........................................351
12.5.1PaymentsAccountInformation<BPACCTINFO> ......................351
12.5.2PaymentInformation<PMTINFO> ..................................352
12.6PaymentsFunctions ....................................................359
12.6.1PaymentCreation.................................................360
12.6.2PaymentModification .............................................363
12.6.3PaymentCancellation..............................................367
12.6.4PaymentStatusInquiry................................ ............369
12.7RecurringPayments ....................................................370
12.7.1CreatingaRecurringPayment ......................................372
12.7.2RecurringPaymentModification....................................375
12.7.3RecurringPaymentCancellation ....................................379
12.8PaymentMail .........................................................381
12.8.1PaymentMailRequestandResponse ................................381
12.8.2PaymentMailSynchronization......................................384
12.9PayeeLists............................................................385
12.9.1AddingaPayeetothePayeeList ....................................387
OFX 2.1.1 Specification xi5/1/06
12.9.2PayeeModification .................................................389
12.9.3PayeeDeletion............. ........................................393
12.9.4PayeeListSynchronization ..........................................395
12.10DataSynchronizationforPayments ......................... .............397
12.10.1PaymentSynchronization..........................................398
12.10.2RecurringPaymentSynchronization .................................400
12.10.3Discussion .......................................................402
12.11MessageSetsandProfile ................................................403
12.11.1BillPayMessageSetsandMessages .................................404
12.11.2BillPayMessageSetProfile<BILLPAYMSGSET>......................406
12.12Examples.............................................................408
12.12.1SchedulingaPayment.............................................408
12.12.2ModifyingaPayment..............................................412
12.12.3CancelingaPayment ..............................................415
12.12.4UpdatingPaymentStatus..........................................416
12.12.5SchedulingaRecurringPayment ....................................417
12.12.6ModifyingaRecurringPayment ....................................419
12.12.7CancelingaRecurringPayment .....................................422
12.12.8AddingaPayeetothePayeeList ....................................423
12.12.9SynchronizingScheduledPayments.................................425
Chapter 13 Investments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
13.1TypesofResponseInformation...........................................428
13.2SubAccounts ..........................................................428
13.3Units,Precision,andSigns................ ...............................428
13.3.1Units.............................................................428
13.3.2Precision ..........................................................429
13.3.3Signs.............................................................429
13.4BankandInvestmentTransactions........................................430
13.5MoneyMarketFunds....................................................430
13.5.1SeparateAccountattheFinancialInstitution...........................430
13.5.2SweepAccountWithinanInvestmentAccount . .......................431
13.5.3PositionWithinanInvestmentAccount...............................431
13.6InvestmentAccounts....................................................431
13.6.1SpecifyingtheInvestmentAccount<INVACCTFROM>.................431
13.6.2InvestmentAccountInformation<INVACCTINFO>....................432
13.6.3Brokerage,MutualFund,and401KAccounts..........................433
xii OFX 2.1.1 Specification5/1/06
13.7InvestmentMessageSetsandProfile......................................434
13.7.1InvestmentStatementDownload ....................................435
13.7.2SecurityInformation...............................................438
13.8InvestmentSecurities ...................................................441
13.8.1SecurityIdentification<SECID>.....................................441
13.8.2SecurityListRequest...............................................441
13.8.3SecurityListResponse.............................................443
13.8.4SecurityList<SECLIST>............................................444
13.8.5SecuritiesInformation .............................................444
13.9InvestmentStatementDownload.........................................450
13.9.1InvestmentStatementRequest......................................450
13.9.2InvestmentStatementResponse ....................................453
13.9.3401(k)AccountInformation.........................................477
13.10InvestmentStatementClosingInformation.......... .. ...................484
13.10.1Request<INVSTMTENDRQ>......................................484
13.10.2Response<INVSTMTENDRS>....... .... ..........................484
13.10.3InvestmentStatement<INVCLOSING> .............................485
13.11InvestmentEMail ....................................................486
13.11.1InvestmentEMailRequestandResponse ...........................486
13.11.2InvestmentEMailSynchronization.................................488
13.12CompleteExample....................................................490
13.13Complete401(k)Example..............................................495
Chapter 14 Bill Presentment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503
14.1Overview............................... ..............................503
14.1.1BillPresentmentModel ............................................503
14.1.2ServersandMessageSets...........................................503
14.2BillerDirectory ........................................................504
14.2.1ClientSignontotheBillerDirectoryServer ...........................504
14.2.2SearchArguments.................................................504
14.2.3IdentificationofBillPublishers......................................504
14.2.4FindBillerRequest<FINDBILLERRQ> ...............................505
14.2.5FindBillerResponse<FINDBILLERRS>.. ............................507
14.2.6StatusCodes<FINDBILLERRS> .....................................509
14.2.7AccountNumberValidation ........................................510
14.2.8BillerPaymentRestrictions.........................................511
14.3CustomerSignup ......................................................512
14.3.1Enrollment.......................................................513
OFX 2.1.1 Specification xiii5/1/06
14.3.2AccountInquiry ...................................................513
14.3.3ServiceActivation ..................................................516
14.3.4ServiceStatusUpdateforGroupsofCustomers........... .............518
14.4BillDelivery........... .................................................522
14.4.1BillDeliveryProcess ................................................522
14.4.2BillListRetrieval...................................................522
14.4.3BillDetailRetrieval............. ....................................536
14.4.4TableStructureDefinition ...........................................540
14.4.5DeliveryNotification...............................................542
14.4.6BillStatusModification.............................................545
14.5BillPayment ..... ......................................................546
14.5.1RemittanceInformation .............................................546
14.5.2PayeeIdentification ................................................546
14.6BillPresentmentEMail ..................................................547
14.6.1BillPresentmentMailRequest<PRESMAILRQ>........................548
14.6.2BillPresentmentMailResponse<PRESMAILRS> .......................548
14.6.3StatusCodes<PRESMAILRS>........................................549
14.6.4Request<PRESMAILSYNCRQ> ......................................550
14.6.5Response<PRESMAILSYNCRS>......................................551
14.7MessageSetsandProfile ............................................. ....552
14.7.1MessageSetsandMessages..........................................552
14.7.2BillerDirectoryMessageSetProfile ...................................556
14.7.3BillDeliveryMessageSetProfile................. ....................556
14.8BillPresentmentExamples...............................................558
14.8.1FindBillerExamples................................................558
14.8.2EnrollmentExamples ...............................................565
14.8.3ActivationExample ................................................567
14.8.4BillDeliveryExamples ..............................................569
Chapter 15 Images. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579
15.1Overview ..............................................................579
15.2ImageDownloadOptions ................................................579
15.2.1ImageRetrievalMethod#1:ReferenceTypeOPAQUE..................580
15.2.2ImageRetrievalMethod#2:ReferenceTypeURL ......................582
15.2.3ImageRetrievalMethod#3:ReferenceTypeFORMURL ... .............583
15.3MessageSetsandProfile ............................................. ....584
15.3.1ImageMessageSetRequestMessages.................................584
15.3.2ImageMessageSetResponseMessages ...............................584
xiv OFX 2.1.1 Specification5/1/06
15.3.3ImageMessageSetProfile ..........................................584
15.4Examples .............................................................586
15.4.1TransactionImageExample ............................ ............586
15.4.2StatementClosingImageExample...................................590
15.4.3TransactionFORMURLExample ....................................593
15.4.4ProfileRequestandResponseShowingImageSupport .................595
Chapter 16 Automatic 1-Way OFX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599
16.1RequestOFXForm......................................................599
16.1.1UserCredentials<USERID>,<USERPASS>,<CRED2>,<CRED3>,
<CLIENTUID> ........................... .... ..........................600
16.1.2ChallengeQuestionAnswers .......................................600
16.1.3DateStartandDateEnd<DTSTART>,<DTEND> ......................601
16.1.4IncludeFlags<INCTRAN>,<INCPOS>,<INCBAL> ....................601
16.1.5AccountID<ACCTID>............... .... ..........................601
16.1.6AccountType<ACCTTYPE>........................................602
16.2HTTPFormResponse ..................................................603
16.2.1ResponsetoRequestOFXForm......................................603
16.2.2StatusResponses ..................................................604
16.2.3ChallengeResponse ...............................................604
16.3Automatic1WayURL..................................................605
16.4RedirectionandCookies................................................605
16.5Examples .............................................................606
16.5.1Example‐FailedMultipleStatementsRequest ........................606
16.5.2Example‐MFAChallengeResponse .................................606
16.5.3BankingandCreditCardStatements.................................607
16.5.4Example‐BankingAccountswithMultipleAccountsandAmpersandin
Password ......................................... .....................612
16.5.5Example‐Banking,Balanceonly....................................614
16.5.6InvestmentStatement,BalancesandPositions.........................616
Appendix A Status Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Appendix B Suggested Name Values for the Banking <BALLIST> . . . . . . 631
B.1UsageFieldValues......................................................631
B.2NameandDescriptionTable.............................................631
Appendix C Change History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
C.1OFX1.6to2.0............................ .... ..........................635
C.1.1SpecificationChangesbyChapter ....................................635
OFX 2.1.1 Specification xv5/1/06
C.2OFX2.0to2.0.1..........................................................638
C.2.1SpecificationChangesbyChapter.....................................639
C.3OFX2.0.1to2.0.2........................................................642
C.3.1SpecificationChangesbyChapter.....................................642
C.3.2DTDChanges......................................................643
C.4OFX2.0.2to2.1..........................................................644
C.4.1SpecificationChangesbyChapter.....................................645
C.5OFX2.1to2.1.1..........................................................648
C.5.1SpecificationChangesbyChapter.....................................648
xvi OFX 2.1.1 Specification5/1/06
OFX 2.1.1 Specification 175/1/06
CHAPTER 1 OVERVIEW
1.1 Introduction
Open Financial Exchange is a broad-based framework for exchanging financial data and instructions
between customers and their financial institutions. It allows institutions to connect directly to their
customers without requiring an intermediary.
Open Financial Exchange is an open specification that anyone can implement: any financial institution,
transaction processor, software developer, or other party. It uses widely accepted open standards for data
formatting (such as XML), connectivity (such as TCP/IP and HTTP), and security (such as SSL).
Open Financial Exchange defines the request and response messages used by each financial service as well
as the common framework and infrastructure to support the communication of those messages. This
specification does not describe any specific product implementation.
18 1.1 Introduction
1.1.1 Design Principles
The following principles were used in designing Open Financial Exchange:
Broad Range of Financial Activities – Open Financial Exchange provides support for a broad
range of financial activities. Open Financial Exchange 2.1.1 specifies the following services:
Bank statement download
Credit card statement download
Funds transfers including recurring transfers
Loan statement download
Consumer payments, including recurring payments
Business payments, including recurring payments
Brokerage and mutual fund statement download, including transaction history, current holdings, and
balances for normal accounts and 401(k) accounts.
Bill presentment and payment
Tax form download, including 1099 and W2 (presented as a 2.0 addendum).
Image download for banking, credit cards, investments and loans
Automatic 1-Way OFX
Broad Range of Financial Institutions – Open Financial Exchange supports communication with
a broad range of financial institutions (FIs), including:
Banks
Brokerage houses
Merchants
Processors
Financial advisors
Government agencies
Broad Range of Front-End Applications – Open Financial Exchange supports a broad range of
front-end applications, including Web-based applications, covering all types of financial activities
running on all types of platforms.
Extensible – Open Financial Exchange has been designed to allow the easy addition of new services.
Future versions will include support for many new services.
Open – This specification is publicly available. You can build client and server applications using the
Open Financial Exchange protocols independent of any specific technology, product, or company.
Multiple Client Support – Open Financial Exchange allows a user to use multiple client applications
to access the same data at a financial institution. With the popularity of the World Wide Web, customers
are increasingly more likely to use multiple applications—either desktop-based or Web-based—to
OFX 2.1.1 Specification 195/1/06
perform financial activities. For example, a customer can track personal finances at home with a
desktop application and occasionally pay bills while at work with a Web-based application. The use of
data synchronization to support multiple clients is a key innovation in Open Financial Exchange.
Robust – Open Financial Exchange will be used for executing important financial transactions and for
communicating important financial information. Assuring users that transactions are executed and
information is correct is crucial. Open Financial Exchange provides robust protocols for error recovery.
Secure – Open Financial Exchange provides a framework for building secure online financial
services. In Open Financial Exchange, security encompasses authentication of the parties involved, as
well as secrecy and integrity of the information being exchanged.
Batch & Interactive – The design of request and response messages in Open Financial Exchange is
for use in either batch or interactive style of communication. Open Financial Exchange provides for
applying a single authentication context to multiple requests in order to reduce the overhead of user
authentication.
International Support – Open Financial Exchange is designed to supply financial services
throughout the world. It supports multiple currencies, country-specific extensions, and different forms
of encoding such as UNICODE.
Platform Independent –Open Financial Exchange can be implemented on a wide variety of front-
end client devices, including those running on Windows, Macintosh, or UNIX. It also supports a wide
variety of Web-based environments and messaging frameworks, including those using SOAP, HTML,
Java, JavaScript, or ActiveX. Similarly on the back-end, Open Financial Exchange can be implemented
on a wide variety of server systems, including those running UNIX, Windows NT, or OS/2.
Transport Independent – Open Financial Exchange is independent of the data communication
protocol used to transport the messages between the client and server computers. Open Financial
Exchange 2.1.1 uses HTTP.
20 1.2 Open Financial Exchange at a Glance
1.2 Open Financial Exchange at a Glance
The design of Open Financial Exchange is as a client and server system. An end-user uses a client
application to communicate with a server at a financial institution. The form of communication is requests
from the client to the server and responses from the server back to the client.
Open Financial Exchange uses the Internet Protocol (IP) suite to provide the communication channel
between a client and a server. IP protocols are the foundation of the public Internet and a private network
can also use them.
1.2.1 Data Transport
Clients use the HyperText Transport Protocol (HTTP) to communicate to an Open Financial Exchange
server. The World Wide Web throughout uses the same HTTP protocol. In principle, a financial institution
can use any off-the-shelf web server to implement its support for Open Financial Exchange.
To communicate by means of Open Financial Exchange over the Internet, the client must establish an
Internet connection. This connection can be a dial-up Point-to-Point Protocol (PPP) connection to an
Internet Service Provider (ISP) or a connection over a local area network that has a gateway to the Internet.
Clients use the HTTP POST command to send a request to the previously acquired Uniform Resource
Locator (URL) for the desired financial institution. The URL presumably identifies a Common Gateway
Interface (CGI) or other process on an FI server that can accept Open Financial Exchange requests and
produce a response.
OFX 2.1.1 Specification 215/1/06
The POST identifies the data as being of type application/x-ofx. Use application/x-ofx as the return type as
well. Fill in other fields per the HTTP 1.0 specification. Here is a typical request:
POST http://www.fi.com/ofx.cgi HTTP/1.0HTTP headers
User-Agent:MyApp 5.0
Content-Type: application/x-ofx
Content-Length: 1032
<!--XML declaration-->
<?xml version="1.0"?>
<!--OFX declaration-->
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<!--OFX request-->
<OFX>
... Open Financial Exchange requests ...
</OFX>
A blank line defines the separation between the HTTP headers and the start of the Open Financial
Exchange headers.
The structure of a response is similar to the request, with the first line containing the standard HTTP result,
as shown next. The content length is given in bytes.
HTTP 1.0 200 OK HTTP headers
Content-Type: application/x-ofx
Content-Length: 8732
<!--XML declaration-->
<?xml version="1.0"?>
<!--OFX declaration-->
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<!--OFX response-->
... Open Financial Exchange responses ...
</OFX>
22 1.2 Open Financial Exchange at a Glance
1.2.2 Request and Response Model
The basis for Open Financial Exchange is the request and response model. One or more requests can be
batched in a single file. This file typically includes a signon request and one or more service-specific
requests. An FI server will process all of the requests and return a single response file. This batch model
lends itself to Internet transport as well as other off-line transports. Both requests and responses are plain
text files, formatted using a grammar based on Extensible Markup Language (XML).
Here is a simplified example of an Open Financial Exchange request file. (This example does not show the
Open Financial Exchange headers and the indentation is only for readability.) For complete details, see the
more complete examples throughout this specification.
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- Begin signon -->
<DTCLIENT>20051029101000</DTCLIENT><!-- Oct. 29, 2005, 10:10:00
am -->
<USERID>MyUserID</USERID> <!-- User ID -->
<USERPASS>MyPassword</USERPASS> <!-- Password (SSL encrypts
whole) -->
<LANGUAGE>ENG</LANGUAGE> <!-- Language used for text -->
<FI> <!-- ID of receiving institution
-->
<ORG>NCH</ORG> <!-- Name of ID owner -->
<FID>1001</FID> <!-- Actual ID -->
</FI>
<APPID>MyApp</APPID>
<APPVER>0500</APPVER>
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<STMTTRNRQ> <!-- First request in file -->
<TRNUID>1001</TRNUID>
<STMTRQ> <!-- Begin statement request -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID> <!-- Routing transit or other FI
ID -->
<ACCTID>999988</ACCTID> <!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<INCTRAN> <!-- Begin include transaction --
>
<INCLUDE>Y</INCLUDE> <!-- Include transactions -->
OFX 2.1.1 Specification 235/1/06
</INCTRAN> <!-- End of include transaction -
->
</STMTRQ> <!-- End of statement request -->
</STMTTRNRQ> <!-- End of first request -->
</BANKMSGSRQV1>
</OFX> <!-- End of request data -->
The response format follows a similar structure. Although a response, such as a statement response,
contains all of the details of each transaction, each individual detail of the statement is identified using
tags.
The key rule of Open Financial Exchange syntax is that each tag is either an element or an aggregate. Data
follows its element tag. An aggregate tag begins a compound tag sequence, which must end with a
matching tag; for example, <AGGREGATE> ... </AGGREGATE>.
The file sent by Open Financial Exchange does not require any white space between tags.
White space following a tag delimiter (>), following an element value, or preceding a tag delimiter (<)
should be ignored. White space within an element value (i.e. not preceding, not following) is significant. If
white space is desired preceding or following an element value, this is achieved using the CDATA wrapper.
If more than one white space element is needed, then multiple &nbsp macros should be utilized. See
section
2.3.1.1.
24 1.2 Open Financial Exchange at a Glance
1.2.3 HTTP Form Request and Response Model
OFX 2.1.1 also supports form requests to a website supporting an HTTP form request and response model.
This is discussed in Chapter 16, "Automatic 1-Way OFX".
Having authenticated the request, the web site responds with an OFX download, just as if the customer had
manually entered the OFX request at the site.
Here is a typical successful response:
HTTP 1.0 200 OK HTTP headers
Content-Type: application/x-ofx
Content-Length: 8732
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<OFX>
... Open Financial Exchange response following the OFX specification...
</OFX>
OFX 2.1.1 Specification 255/1/06
1.3 Definitions
The following sections detail definitions that hold within the context of OFX.
1.3.1 User
User refers to the person or entity interfacing with the OFX client to cause it to generate OFX requests.
1.3.2 Financial Institution
Financial Institution (FI) refers to the institution with which the user has a direct relationship. Generally
this means a bank, but in many cases it may be an institution providing non-banking financial services.
1.3.3 Service Provider
Service Provider (SP) refers to an institution with which the user does not have a direct relationship.
Generally, such an institution is subcontracted by the FI to provide specific services to the customer on
behalf of the FI.
1.3.4 Client
An OFX client is the software that generates OFX requests, receives responses and processes them. This
may be a personal finance manager, a web browser running locally interactive code (such as with a Java
applet or ActiveX control), a Web server, a proxy, or one of many other possibilities.
1.3.5 Server
An OFX server is the software that receives OFX requests, processes them, and generates OFX responses.
1.3.6 Service
A service is a collection of related transactions. For example, the BANKSVC service encompasses
banking transactions such as requesting bank statements, initiating stop checks, initiating wire transfers,
etc.
In OFX 1.x and 2.x, services are used directly only when describing or changing the general options
available to a particular customer. Other collections of transactions instead use the concept of Message
Sets as described in
section 1.3.15.
26 1.3 Definitions
1.3.7 Tag
Tag is the generic name for either a start tag or an end tag. A start tag consists of an element or aggregate
name surrounded by angle brackets. An end tag is the same as a start tag, with the addition of a forward
slash immediately preceding the name. For example, the start tag for the aggregate named FOO looks like
this:
<FOO>
The end tag for the same aggregate looks like this:
</FOO>
1.3.8 Element
An OFX document contains one or more elements. An element is some data bounded by a leading start tag
and a trailing end tag. For example, an element named BAZ, containing data “bar,” looks like this:
<BAZ>bar</BAZ><!-- An element ended by its own end tag-->
An OFX element must contain data (not just white space) and may not contain other elements. This is a
refinement to the XML definition of an element which is more generic. An XML element containing other
elements is defined in OFX as an aggregate. OFX specifically disallows empty elements and elements with
mixed content.
1.3.9 Aggregate
An aggregate is a collection of elements and/or other aggregates. An aggregate may not contain any data
itself, but rather contains elements containing data, and/or recursively contains aggregates.
OFX includes very few empty aggregates and clients and servers should not send an aggregate without
content. In general, the entire aggregate should be left out of a request or response file when its (optional)
content is missing. The few exceptions to these rules (such as <SECLISTRS>, described in section
13.8.3.3) are called out in the relevant sections of this document.
OFX 2.1.1 Specification 275/1/06
1.3.10 Request
A request is information sent by the client. An OFX request file is the entire XML file sent by the client,
including the OFX declaration. An individual request generally is an aggregate whose name ends in RQ.
1.3.11 Response
A response is information sent by the server. An OFX response file is the entire XML file sent by the
server, including the OFX declaration. An individual response generally is an aggregate whose name ends
in RS.
When elements and aggregates from the request also appear in the corresponding response they are
generally intended to echo the values from a request in the response (this enables client matching with the
request, for example). While the server should not modify data in individual elements when echoing,
elements not found in a particular request may be added in the response. These situations (such as adding a
<PAYEELSTID> when creating a <PMTRQ> response) are described as they arise. OFX also includes a
few specific situations requiring different information to be sent and returned in corresponding elements of
a request/response pair. Again, these exceptions (such as the <TOKEN> element in a sync request and
response) are described as they arise.
1.3.12 Message
A message is the unit of work in OFX. It refers to a request and response pair. For example, the message to
download a bank statement consists of the request <STMTRQ> and the response <STMTRS>.
1.3.13 Transaction
A transaction consists of a message and its associated transaction wrappers. The transaction request
wrapper contains a unique transaction identifier used to prevent ambiguity in matching a particular
response to its associated request, and the request aggregate. The transaction response wrapper contains a
status aggregate, the transaction identifier sent in the request, and (if the transaction was successful) the
response aggregate. For details on the use of transaction wrappers, see section
2.4.6.
1.3.14 Synchronization
For messages subject to synchronization (see Chapter 6, "Data Synchronization"), an added layer of
aggregates is also part of a message definition: a synchronization request and response. These add a token
and, in some cases, other information. Synchronization requests may encapsulate embedded transactions
that execute only when certain conditions are true at the server (either the containing synchronization
request completed without error or the request had no errors and the client was up to date).
28 1.4 OFX Versions
1.3.15 Message Set
Message sets are collections of messages. Generally they form all or part of a service (as defined in section
1.3.6). OFX utilizes these smaller groupings when wrapping request or response transactions, profiling
server support for the wrappers and describing individual messages. The BANKSVC service, for example,
is broken into the BANKMSGSET, CREDITCARDMSGSET, INTERXFERMSGSET and
WIREXFERMSGSET message sets.
Please refer to section 2.4.5 , "Message Sets and Version Control" for additional information about
message sets.
1.4 OFX Versions
There are several distinct versions of OFX clients and servers.
Version 1.0.2 supports any or all version 1 message sets except Bill Presentment. These message sets are
defined by the OFX 1.0.2 Document Type Definition (DTD), which is used for parsing. Applications that
conform to this version are referred to as 1.0.2 clients and 1.0.2 servers.
Version 1.0.3 extends 1.0.2 by adding support for Muli-Factor Authentication.
Version 1.5.1 supports all version 2 message sets, Bill Presentment, and all version 1 message sets.
Because it supports all message sets, the OFX 1.5.1 DTD can be used to create and support OFX 1.0.2 and/
or OFX 1.5.1 clients and servers.
Version 1.6 DTD supports all message sets available in the OFX 1.5.1 DTD. It adds specific enhancements
to some of the aggregates. All of those enhancements are optional and should not be used by a client unless
the server indicates support in its FI Profile. Applications that conform to this version are referred to as 1.6
clients and 1.6 servers. The OFX 1.6 DTD fully incorporates the OFX 1.0.2 and 1.5.1 message sets, so it
can be used to support both 1.0.2 and 1.5.1 applications.
Version 2.0 supports all V1 message sets available in the OFX 1.6 DTD. It adds support for 401(k)
investment statement download. The Tax OFX addendum to OFX 2.0 adds support for 1099 and W2
download. An important change for 2.0 is that it adds the requirement of XML compliance to OFX 2.0
clients and servers. See chapter
2 for more information.
Version 2.0.1 extends 2.0 by adding support for investment transaction reversals, by adding the capability
to include an arbitrary list of balances in statement and credit card statement downloads, and by adding the
ability to specify bill publisher information in the payment message.
Version 2.0.2 adds clarification to 2.0.1 as well as fixes some minor documentation bugs.
Version 2.0.3, an extension of 2.0.2, adds Multi-Factor Authentication (MFA) to the Signon Message Set
and changes to the Profile Message Set to support MFA.
OFX 2.1.1 Specification 295/1/06
Version 2.1 extends 2.0.2 by adding support for loans, as well as image download for banking, credit cards,
investments and loans. Automatic 1-Way OFX is also new; see in Chapter 16 for details. Appendix C.4
contains a full description of changes made for OFX 2.1.
Version 2.1.1 adds Multi-Factor Authentication (MFA) to the Signon Message Set and changes to the
Profile Message Set to support MFA. These are virtually the same MFA changes that are added to versions
1.0.3 and 2.0.3.
For an overall description of OFX message sets, see section 2.4.5.3.
30 1.5 Conventions
1.5 Conventions
The conventions used in the element and aggregate descriptions include the following:
Required elements and aggregates are in bold. Regular face indicates elements and aggregates that are
optional. Required means that a client must always include the element or aggregate in a request, and a
server must always include the element or aggregate in a response.
Required elements and aggregates occur once unless noted as one or more in the description, in which
case the specification allows multiple occurrences.
Optional elements and aggregates occur once if present unless noted as zero or more in the description,
in which case the specification allows multiple occurrences.
Character fields are identified with a data type of “A-n”, where n is the maximum number of allowed
Unicode characters.
Note: n refers to the number of characters in the resultant string. Each multi-byte or encoded
character counts as a single character. UTF-8 encodes “high” Latin-1 characters (decimal 128-
255) using two bytes, and double-byte characters using three bytes. In addition, XML encodes
ampersands, less-than symbols, greater-than symbols, and spaces (where required) using multi-
character escape strings (see section
2.3.1.1). Therefore, an element of type A-40 may require
more than 40 bytes in a UTF-8-encoded XML stream.
N-n identifies an element of numeric type where n is the maximum number of characters in the value.
Values of this type are generally whole numbers, but the data type allows negative numbers. OFX
includes a few fixed-position numeric values (such as <APPVER>, see section
2.5.1.2) called out in the
text. In all cases, elements of this type may contain only the characters 0 through 9 and - (hyphen, the
negative sign indicator). So an element of type “N-6” may take values from -99999 to 999999. The
value “0000000” would be illegal for an N-6 element. White space is not allowed within the numeric
value. Leading zeroes are allowed, but discouraged except where noted in the text. For example, a
<MIN> element containing zero might be sent as “<MIN>0”, “<MIN>00”, “<MIN> 0", but not
“<MIN>0 0".
Common value types, such as a dollar amount, are referenced by name. Chapter 3, "Common
Aggregates, Elements, and Data Types" lists value types that are referenced by name.
OFX 2.1.1 Specification 315/1/06
Explanatory information is in italics
Tag Description
<REQUIRED>
Required element or aggregate (1 or more)
<REQUIRED2>
Required element or aggregate that occurs only once
<OPTIONAL> Optional element or aggregate; this element or aggregate can occur
multiple times (0 or more)
<SPECIFIC> Values are A, B, and C
<ALPHAVALUE> Takes a value up to 32 characters in length, A-32
Explanatory text Hopefully useful information.
32 1.5 Conventions
OFX 2.1.1 Specification 335/1/06
CHAPTER 2 STRUCTURE
This chapter describes the basic structure of an Open Financial Exchange request and response. Structure
includes headers, basic syntax, and the Signon request and response. This chapter also describes how Open
Financial Exchange encodes external data, such as bit maps.
Open Financial Exchange data consists of a declaration plus one Open Financial Exchange data block.
This block consists of a signon message and zero or more additional messages. When sent over the Internet
using HTTP, standard HTTP and (optionally) multipart MIME headers and formats surround the Open
Financial Exchange data. A simple file that contained only Open Financial Exchange data would have the
following form:
HTTP headers
MIME type application/x-ofx
XML declaration
Open Financial Exchange declaration
Open Financial Exchange XML block
A more complex file that contained additional Open Financial Exchange data would have this form:
HTTP headers
MIME type multipart/x-mixed-replace; boundary =XYZZY24x7
--XYZZY24x7
MIME type application/x-ofx
XML declaration
Open Financial Exchange declaration
Open Financial Exchange XML block
--XYZZY24x7
MIME type image/jpeg
FI logo
--XYZZY24x7--
Version 1.0.2 of the Open Financial Exchange specification did not specify how to properly separate the
various components of an OFX request. In particular, separation of the HTTP headers, the MIME
attachments, the OFX declaration, the OFX header elements, and the OFX SGML block.
OFX 1.0.2 clients used a mix of LF and CRLF constructs and OFX 1.0.2 servers handled either linefeed
(LF) or carriage return/line feed (CRLF), but not often both. In the future, it is expected that 1.0.2 servers
will be upgraded to handle both CRLF and LF.
OFX 2.1.1 clients and servers are expected to follow standard XML 1.0 conventions regarding the use of
CR and LF. XML 1.0 is an accepted World Wide Web Consortium (W3C) recommendation.
http://www.w3.org (W3C home page)
http://www.w3.org/TR/REC-xml (XML 1.0 recommendation)
34 2.1 HTTP Headers
The text has been included below for ease of reference:
2.1 HTTP Headers
Data delivered by way of HTTP places the standard HTTP result code on the first line. HTTP defines a
number of status codes. Servers can return any standard HTTP result. However, FIs should expect clients
to collapse these codes into the following three cases:
Code Meaning Action
200 OK The request was processed and a valid Open Financial Exchange result is
returned.
400s Bad request The request was invalid and was not processed. Clients will report an internal
error to the user. Invalid requests include: general HTTP transport errors, XML
formatting errors, invalid OFX syntax, and invalid data values. This error should
not appear for request files the server is able to parse.
500s Server error The server is unavailable. Clients should advise the user to retry shortly.
Note: The server must return a code in the 400s for any problem that prevents it from
processing the request file. Processing problems include failures relating to security,
communication, parsing, or the Open Financial Exchange declaration (for example, the client
requested an unsupported language). For content errors such as wrong USERPASS or invalid
account, the server must return a valid Open Financial Exchange response along with code 200.
If a communication time-out error occurs while an OFX server and a back-end server are
communicating to fill a request, then the server MUST return a code in the 500s.
Open Financial Exchange requires the following HTTP standard headers:
Code Value Explanation
Content-
type
application/x-
ofx
The MIME type for Open Financial Exchange
Content-
length
length Length of the data after removing HTTP headers
When responding with multipart MIME (likely only if the request included a <GETMIMERQ> request),
the main type will be multipart/x-mixed-replace; one of the parts will use application/x-ofx.
2.2 Open Financial Exchange File Format
The contents of an Open Financial Exchange file consists of simple declarations followed by contents
defined by those declarations.
OFX 2.1.1 Specification 355/1/06
The standard XML declaration must come first. This Processing Instruction (PI) includes an option to
specify the version of XML being used, and may include options to show such things as the encoding
declaration, and the standalone status of the document.
The XML declaration takes the following form:
Note: White space requirements are not imposed by this specification beyond the standard
XML 1.0 conventions; therefore, the white space formatting shown in these examples is not
required.
The encoding and standalone attributes are shown below for completeness and may be omitted.
See XML 1.0 for a description of the default handling for these attributes.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
The OFX declaration must come next in the file. This PI identifies the contents as an Open Financial
Exchange file and provides the version number of the Open Financial Exchange declaration itself (not the
version number of the contents). The Open Financial Exchange PI contains the following attributes:
OFXHEADER
VERSION
SECURITY
OLDFILEUID
NEWFILEUID
All these attributes are required. "NONE" should be returned if client or server does not make use of an
individual attribute, e.g., OLDFILEUID="NONE".
The entire declaration takes the form:
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
36 2.2 Open Financial Exchange File Format
For information about each of the OFX declaration attributes, refer to the following sections.
2.2.1 OFXHEADER
OFXHEADER specifies the version number of the Open Financial Exchange declaration.
The OFXHEADER value changes its major number only if an existing client is unable to process the new
header. This can occur because of a complete syntax change in a header, or a significant change in the
semantics of an existing header element.
Because OFX 2.1.1 uses an XML compliant header which significantly differs from the 1.x header, the
value of OFXHEADER is now 2.0 (OFXHEADER="200").
2.2.2 VERSION
VERSION specifies the version number of the following OFX data block.
The OFX 2.1.1 DTD supports the following:
All message sets found in OFX 2.1 plus Multi-Factor Authentication.
For OFX 2.1.1 the accepted value for VERSION is 211.
2.2.3 SECURITY
SECURITY defines the type of application-level security, if any, that is used for the <OFX> block. The
values for SECURITY can be NONE or TYPE1.
For more information about security, refer to Chapter 4, "OFX Security."
2.2.4 OLDFILEUID and NEWFILEUID
NEWFILEUID uniquely identifies this request file. The NEWFILEUID, which clients must send with
every request file and which servers must echo in the response, serves two purposes:
Servers can use the NEWFILEUID to quickly identify duplicate request files.
Clients and servers can use NEWFILEUID in conjunction with OLDFILEUID for file-based error
recovery. For more information about using file-based error recovery or lite synchronization, see
Chapter 6, "Data Synchronization."
OLDFILEUID is used together with NEWFILEUID only when the client and server support file-based
error recovery. OLDFILEUID identifies the last request and response that was received and processed by
the client.
OFX 2.1.1 Specification 375/1/06
2.3 XML Details
2.3.1 Compliance
XML is the basis for Open Financial Exchange 2.0 and later. To enable OFX clients and servers to use off-
the-shelf XML parsers, OFX 2.1.1 is fully XML compliant. Therefore, in contrast to the guidelines for
OFX 1.6 and below, unrecognized tags may not be present. If clients and servers wish to extend OFX with
private tags and true DTD validation is necessary, a modified OFX DTD which contains those new tags
must be passed along with the OFX document.
2.3.1.1 Special Characters
Special characters in OFX 2.1.1 are handled according to the XML standard. Characters such as ’<’, ’>’,
’&’, ’’, and ’"’ are predefined in XML. Other character strings with many special characters should be
enclosed in a CDATA section.
Note: The space macro (&nbsp;) should be used if leading or trailing blanks are meant to be
preserved as part of a data element’s value. Alternatively, a CDATA block may be used to
force the handling of leading or trailing spaces. No special formatting of space characters in
the middle of an element’s text value is needed.
2.4 Open Financial Exchange XML Structure
2.4.1 Overview
Open Financial Exchange hierarchically organizes request and response blocks:
Top Level <OFX>
Message Set and Version <xxxMSGSVn>
Synchronization Wrappers <xxxSYNCRQ>, <xxxSYNCRS>
Transaction Wrappers <xxxTRNRQ>, <xxxTRNRS>
Specific requests and responses
The following sections describe these levels.
2.4.2 Case Sensitivity
OFX requires upper case letters for tag names and enumerated values. In the example below,
<SEVERITY> is an element with an enumerated value and <MESSAGE> is an element with a value that
is not enumerated.
<STATUS>
<CODE>2000</CODE>
38 2.4 Open Financial Exchange XML Structure
<SEVERITY>ERROR</SEVERITY>
<MESSAGE>General Error</MESSAGE>
</STATUS>
2.4.3 Top Level
An Open Financial Exchange request or response has the following top-level form:
Tag Description
<OFX>
Opening tag
<SONRQ> or
<SONRS>
Required signon request or response. See section 2.5.1.
... Open Financial
Exchange requests or
responses ...
0 or more transaction requests and responses inside appropriate message set
aggregates
</OFX>
Closing tag for the Open Financial Exchange record
This chapter specifies the order of requests and responses.
A single file MUST contain only one OFX block.
2.4.4 Messages
A message is the unit of work in Open Financial Exchange. It refers to a request and response pair, and the
status codes associated with that response. For example, the message to download a bank statement
consists of the request <STMTRQ> and the response <STMTRS>.
OFX uses several common message types to perform specific functions. Within OFX, the following
naming conventions are used, where the general xxx messages may be:
Basic (or Add) request <xxxRQ> and response <xxxRS>
Modify request <xxxMODRQ> and response <xxxMODRS>
Delete request <xxxDELRQ> and response <xxxDELRS>
Cancel request <xxxCANRQ> and response <xxxCANRS> (these pairs may also be named
<xxxCANCRQ> and <xxxCANCRS)
OFX 2.1.1 Specification 395/1/06
2.4.4.1 Basic and Add Messages
The basic OFX message has a name structure of <xxxRQ>/<xxxRS>. It is used for read actions of a
specific object (such as a bank statement using <STMTENDRQ>). It is encapsulated in a transaction
wrapper <xxxTRNRQ> or <xxxTRNRS> (therefore, <STMTENDTRNRQ> and <STMTENDTRNRS> in
the example above).
The add OFX message, like the Basic message, has a name structure of <xxxRQ>/<xxxRS>. It is used to
create a new instance of object xxx (such as creating a new payment using <PMTRQ>). It is encapsulated
in a transaction wrapper <xxxTRNRQ> or <xxxTRNRS> (therefore, <PMTTRNRQ> and <PMTTRNRS>
in the example above).
2.4.4.2 Modify Message
The modify OFX message has a name structure of <xxxMODRQ>/<xxxMODRS>. It is used to modify an
existing instance of object xxx (such as modifying an existing payment using <PMTMODRQ>). It is
encapsulated in a transaction wrapper <xxxTRNRQ> or <xxxTRNRS> (therefore, <PMTTRNRQ> and
<PMTTRNRS> in the example above).
The <xxxMODRQ> request contains the complete replacement data for an existing object xxx. Therefore,
both changed and unchanged elements must be included in the request.
2.4.4.3 Delete and Cancel Messages
The delete and cancel OFX messages have a name structure of <xxxDELRQ>/<xxxDELRS> and
<xxxCANRQ>/<xxxCANRS> or <xxxCANCRQ>/<xxxCANCRS>, respectively. They are used to delete
an existing instance of object xxx (such as deleting a payee from a payee list using <PAYEEDELRQ>), or
to cancel an existing scheduled object (such as canceling a pending payment using <PMTCANCRQ>).
They are encapsulated in a transaction wrapper <xxxTRNRQ> or <xxxTRNRS> (therefore,
<PAYEETRNRQ> and <PMTTRNRQ> in the examples above).
2.4.4.4 Inquiry Message
The inquiry OFX message sometimes has a name structure of <xxxINQRQ>/<xxxINQRS>. It is used to
search for and/or gain information about (an) existing object(s) xxx (such as finding one or more existing
payments using <PMTINQRQ>). It is encapsulated in a transaction wrapper <xxxINQTRNRQ> or
<xxxINQTRNRS> (therefore, <PMTINQTRNRQ>and <PMTINQTRNRS> in the example above).
Inquiry messages limit the response set to records matching the selection criteria used in the request.
Selection criterion elements in the request are generally repeating elements. Where more than one value is
given for a particular element, the query ORs those values. Where multiple different elements (matches for
different fields of the objects) are provided, the query ANDs those values. Where an element is absent
from the request, the query is not filtering on that element. If an element has a history associated with it,
only the most recent value is intended by the inquiry.
40 2.4 Open Financial Exchange XML Structure
Note: A server is not obligated to support filtering on all selection criterion elements. If a
server chooses not to support a particular element as a selection criterion, it must treat that
element as if it were not present. That is, the server must return the appropriate record set for
the elements on which it does support filtering. As a result, clients should be prepared to
receive records outside the scope of the selection criteria submitted in the request.
Note: Many inquiry messages do not presently follow the naming conventions detailed above.
They may be named <xxxINFORQ>/<xxxINFORS> (<ACCTINFORQ> and
<ACCTINFORS> for example) or without reference to an obvious convention
(<PRESLISTRQ> and <PRESLISTRS> for example).
2.4.5 Message Sets and Version Control
Message sets are collections of messages. Generally they form all or part of what a user would consider a
service, something for which they might have signed up, such as “banking.” Message sets are the basis of
version control, routing, and security. They are also the basis for the required ordering in Open Financial
Exchange files.
Within the OFX block, OFX organizes messages by message set. Message sets follow these rules:
A request file may include at most one message set wrapper of each type.
All messages within any message set must be from the same version of that message set.
Servers must respond using the same message sets and versions as sent in the request file. For example,
if <SIGNUPMSGSRQV1> appears in the request file, <SIGNUPMSGSRSV1> must appear in the
response file. There is one exception to this rule: servers may return the <SECLISTMSGSRSV1>
wrapper (see
13.7.2 and 13.8.4) in response to an investment statement download request that may or
may not include <SECLISTMSGSRQV1>.
2.4.5.1 Message Set Aggregates
For each message set of xxx and version n, there are two aggregates, one for requests <xxxMSGSRQVn>)
and one for responses <xxxMSGSRSVn>. All of the messages from that message set must be enclosed in
the appropriate message set aggregate. In the following example, the Open Financial Exchange block
contains a signon request inside the signon message set, and two statement requests and a transfer request
inside the bank message set.
<OFX>
<SIGNONMSGSRQV1> <!-- Signon message set -->
<SONRQ> <!-- Signon message -->
...
</SONRQ>
</SIGNONMSGSRQV1>
<BANKMSGSRQV1> <!-- Banking message set -->
OFX 2.1.1 Specification 415/1/06
<STMTTRNRQ> <!-- Statement request -->
...
</STMTTRNRQ>
<STMTTRNRQ> <!-- Another stmt request -->
...
</STMTTRNRQ>
<INTRATRNRQ> <!-- Intrabank transfer request -->
...
</INTRATRNRQ>
</BANKMSGSRQV1>
</OFX>
2.4.5.2 Message Set Ordering
Message sets must appear in the following order:
Signon
Signup
Banking
Credit card statements
Loan statements
Investment statements
Interbank funds transfers
Wire funds transfers
Payments
General e-mail
Investment security list
Biller Directory
Bill Delivery
FI Profile
Image download
Note: Image download is an exception to the above. An OFX file containing the Image
message set includes only the Signon message set. No other message sets may be present in the
file. See Chapter 15, "Image Download", for details.
The definition of each message set can further prescribe an order of its messages within that message set.
42 2.4 Open Financial Exchange XML Structure
2.4.5.3 Message Set Version Numbers
The following table lists each message set, along with its aggregate name and the DTD/XML Schema
versions that support it.
Note: Starting with OFX 2.0, a DTD is no longer maintained. Instead, an XML Schema is
maintained.
Message Set Message Set Aggregate DTD/Schema Support
Signon <SIGNONMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Signup <SIGNUPMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Banking <BANKMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Credit Card Statements <CREDITCARDMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Loan Statements <LOANMSGSETV1> 2.1, 2.1.1
Investment Statements <INVSTMTMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Interbank Funds Transfers <INTERXFERMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Wire Funds Transfers <WIREXFERMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Payments <BILLPAYMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
General e-mail <EMAILMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Investment security list <SECLISTMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Biller directory <PRESDIRMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Bill delivery <PRESDLVMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
FI Profile <PROFMSGSETV1> 1.0.2, 1.0.3, 1.5.1, 1.6, 2.0,
2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1
Image download <IMAGEMSGSETV1> 2.1, 2.1.1
Note: For each message set that it is supporting, a financial institution must indicate which
version numbers of that message set it supports. The financial institution includes the message
OFX 2.1.1 Specification 435/1/06
set version number in the <MSGSETCORE> aggregate of the FI profile. For more information
about the FI profile, refer to
Chapter 7, "FI Profile." OFX 2.1.1 servers should use version
number 1.
2.4.6 Transactions
Other than the signon message, each request is made as a transaction. Transactions contain a client-
assigned globally-unique ID, optional client-supplied pass-back data, and the request aggregate. A
transaction similarly wraps each response. The response transaction returns the client ID sent in the
request, along with a status message, the pass-back data if present, and the response aggregate. This
technique allows a client to track responses against requests. Section
3.1.2 provides more information
about the format of information exchanged by the client and server.
The <STATUS> aggregate, defined in Chapter 3, "Common Aggregates, Elements, and Data Types,"
provides feedback on the processing of the request. If the <SEVERITY> of the status is ERROR, the
server provides the transaction response without the nested response aggregate. Otherwise, the response
must be complete even though a warning might have occurred.
Clients can send additional information in <CLTCOOKIE> that servers will return in the response. This
allows clients that do not maintain state, and thus do not save <TRNUID>s, to cause some additional
descriptive information to be present in the response. For example, a client might identify a request as
relating to a user or a spouse.
<CLTCOOKIE> must only be returned by the server in the initial response to the client (and any crash
recovery from that response). The <CLTCOOKIE> should not be present in a sync response, except for
those transactions whose requests were wrapped in the sync request.
In some countries, some banks may require that a customer-supplied authorization number be included to
authenticate certain kinds of individual transactions such as payment requests. For those banks, the
<TAN> element passes this information to servers.
Note that if a <CLTCOOKIE> is given to an OFX server in a request, the OFX server is required to return
it. This return of the <CLTCOOKIE> will necessitate server-side storage of <CLTCOOKIE> data. In the
case of an OFX client getting a <CLTCOOKIE> that it didn’t send in a request, the default behavior is to
ignore it.
2.4.6.1 Transaction Wrapper
With the exception of the <SONRQ>/<SONRS> message, each message has a corresponding transaction
wrapper. For requests, the transaction wrapper adds a transaction unique ID <TRNUID>. For responses,
the transaction wrapper adds the same transaction unique ID <TRNUID> (an echo of that found in the
request), plus a <STATUS> aggregate.
The transaction wrapper has a name structure of <xxxTRNRQ>/<xxxTRNRS>. A transaction wrapper pair
encapsulates a single message (<xxxRQ>/<xxxRS>, <xxxMODRQ>/<xxxMODRS>, etc.).
44 2.4 Open Financial Exchange XML Structure
While the same name may be used for addition, modification and deletion messages, a single transaction
wrapper may contain at most one request or response. The request transaction wrapper must contain a
single request. The response transaction wrapper must contain a single response unless the contained
<STATUS> aggregate indicates an error.
Note: Some requests and responses (generally, Add, Modify, and Delete/Cancel types) share a
transaction wrapper and synchronization wrapper. In these cases, the names of the transaction
and synchronization wrappers reflect the Add message.
OFX 2.1.1 Specification 455/1/06
A typical request is as follows:
Tag Description
<xxxTRNRQ>
Transaction-request aggregate
<TRNUID>
Client-assigned globally-unique ID for this transaction, trnuid
<CLTCOOKIE>
Data to be echoed in the transaction response, A-32
<TAN>
Transaction authorization number; used in some countries with some types of
transactions. The FI Profile defines messages that require a <TAN>, A-80
Request
aggregate
Aggregate for the request
</xxxTRNRQ>
A typical response is as follows:
Tag Description
<xxxTRNRS>
Transaction-response aggregate
<TRNUID>
Client-assigned globally-unique ID for this transaction, trnuid
<STATUS>
Status aggregate
</STATUS>
<CLTCOOKIE>
Client provided data, A-32
Response
aggregate
Aggregate for the response
</xxxTRNRS>
List of status code values for the <CODE> element of <STATUS>:
Value Meaning
0 Success (INFO)
2000 General error (ERROR)
2022 Invalid TAN (ERROR)
46 2.5 The Signon Message Set
2.4.7 Synchronization Wrapper
The synchronization wrapper has a name structure of <xxxSYNCRQ>/<xxxSYNCRS>. It contains
synchronization parameters and optionally encapsulates one or more transaction wrappers. For details on
the use of synchronization wrappers, see Chapter 6.
When embedded transactions are not present, the synchronization request contains no transaction
wrappers. If the client is up to date when the server processes such a request, the synchronization response
also contains no transaction wrappers.
Note: If a request/response is a sync request/response only, the transaction wrapper and
request that it wraps are omitted.
2.4.8 Message Set Wrapper
The profile message set wrappers have a name structure of <xxxMSGSET> and <xxxMSGSETV1>.
The request and response message set wrappers have a name structure of <xxxMSGSRQVn> and
<xxxMSGSRSVn> respectively. For OFX 2.1.1, “n” must be “1”. This number indicates the version of the
message set used by the contained messages.
2.5 The Signon Message Set
The Signon message set includes the signon message, USERPASS change message, challenge message,
and multi-factor authentication (MFA) challenge message, which must appear in that order. The
<SIGNONMSGSRQV1> and <SIGNONMSGSRSV1> aggregates wrap the message.
2.5.1 Signon <SONRQ> and <SONRS>
The signon record identifies and authenticates a user to an FI. It also includes information about the
application making the request, because some services might be appropriate only for certain clients. Every
Open Financial Exchange block contains exactly one <SONRQ>. Every response must contain exactly one
<SONRS> record. Use of Open Financial Exchange presumes that FIs authenticate each customer and
then give the customer access to one or more accounts or services. Authentication of a <SONRQ> is
required, even when in Error Recovery. If passwords are specific to individual services or accounts, a
separate Open Financial Exchange request must be made for each user ID or password required. This will
not necessarily be in a manner visible to the user. Note that some situations, such as joint accounts or
business accounts, will have multiple user IDs and multiple passwords that can access the same account.
FIs assign user IDs for the customer. The client must not make any assumptions about the syntax of the
ID, add check-digits, or do similar processing.
To ensure security and help prevent identity fraud, Financial
Institutions are discouraged from using Social Security Number for Customer ID or PIN/Password.
OFX 2.1.1 Specification 475/1/06
To improve server efficiency in handling a series of Open Financial Exchange request files sent over a
short period of time, clients can request that a server return a <USERKEY> in the signon response. If the
server provides a user key, clients will send the <USERKEY> instead of the user ID and password in
subsequent sessions, until the <USERKEY> expires. This allows servers to authenticate subsequent
requests more quickly. Servers must accept a <GENUSERKEY> element in a <SONRQ>. However, a
server may decide <USERKEY> does not afford sufficient security and may optionally not return a
<USERKEY> in the <SONRS>.
The client returns <SESSCOOKIE> if the server sent one in a previous <SONRS>. Servers can use the
value of <SESSCOOKIE> to track client usage but cannot assume that all requests come from a single
client, nor can they deny service if they did not expect the returned cookie. Use of a backup file, for
example, could lead to an unexpected <SESSCOOKIE> value that nevertheless should not stop a user
from connecting.
A client may use an anonymous form of <USERID> and <USERPASS> on those rare occasions when a
server need not authenticate the <SONRQ>. The only present situations in this class are first-time
<PROFRQ>, <FINDBILLERRQ>, and all <ENROLLRQ> transactions. Any request sent by the client
after a successful <ENROLLRQ> response (or out of band enrollment) for the service must provide the
users <USERID> and <USERPASS>. The anonymous <USERID> or <USERPASS> value is left aligned
and padded with 0 to a length of 32 characters: anonymous00000000000000000000000
Note: This anonymous password length may exceed the <MAX> value for the profile server
(in the corresponding <SIGNONINFO> aggregate). Nonetheless, servers supporting
anonymous signon must not reject this password due to its length.
Servers can request that a consumer change his or her password by returning status code 15000. Servers
should keep in mind that only one status code can be returned. If the current signon response status should
be 15500 (invalid ID or password), the request to change the password must wait until an otherwise
successful signon is achieved.
An OFX 2.1.1 server has the option of allowing or disallowing “empty” signon transactions. In the context
of signon, “empty” means a simple signon without any other transaction (a sync, statement download,
etc.). If the OFX 2.1.1 server does not support empty signon, it should return error 15506. If the OFX 2.1.1
server does support empty signon, it should process the signon and return the appropriate error or success
code.
If the server returns any signon error, it must respond to all other requests in the same <OFX> block with
status code 15500. For example, if the server returns status code 15502 to the <SONRQ> request, it must
return status code 15500 to all other requests in the same <OFX> block. The server must return status
code 15500 for all requests; it cannot simply ignore the requests. In addition, any sync responses must
indicate an error with <TOKEN>-1</TOKEN>, <LOSTSYNC>N </LOSTSYNC>(<LOSTSYNC> is an
optional element). Responses for any transactions embedded in the sync request should contain the same
<STATUS><CODE>15500</CODE></STATUS>. Otherwise, they must be omitted from the sync
response wrapper. (See section 6.2 for data synchronization specifics.)
48 2.5 The Signon Message Set
2.5.1.1 Multi-Factor Authentication (MFA)
In addition to the previously existing method of authentication in OFX (username/password), OFX 2.1.1
introduces several ways for OFX to support additional authentication factors. This support is achieved
through the addition of new tags in the OFX signon request and through a new message, the
<MFACHALLENGERQ>/<MFACHALLENGERS> request/response.
The signon request includes several new fields that financial institutions can optionally require for user
authentication.
2.5.1.1.1 Client Unique ID <CLIENTUID>
OFX servers can require OFX clients to include a client ID in each signon request. This client ID should
be unique to the installation of the client software, but the method that the ID is generated is left up to the
client. The server can specify that this field is required using the <CLIENTUIDREQ> tag in the applicable
<SIGNONINFO> section of the profile. Servers should expect that users may connect via OFX from
multiple locations and may need to associate more than one <CLIENTUID> value with their <USERID>.
The client may make this value user discoverable, so that the user can register the client ID with financial
institutions.
2.5.1.1.2 Additional User Credentials <USERCRED1>, <USERCRED2>
The signon request contains two new user credential ID fields, <USERCRED1> and <USERCRED2>.
Servers use the applicable <SIGNONINFO> aggregate in the profile to specify if one or both of these
fields are required. The presence of <USERCRED1LABEL> and <USERCRED2LABEL> in
<SIGNONINFO> specifies that these tags are required and also gives labels for these fields. OFX clients
should use these labels to prompt the user for necessary signon information. For instance, a server may
require <USERCRED1> and would specify its label as “Mothers maiden name.”
Servers should assume that profile requests are made very infrequently. If the user credential ID or label is
expected to change frequently, the MFACHALLENGE message is the most appropriate method to use.
Use of <USERCRED1> and <USERCRED2> should be reserved for questions/prompts that will change
rarely, if at all.
2.5.1.1.3 One-Time Authentication Token <AUTHTOKEN>
This authentication token is intended to be used in conjunction with the client ID functionality described in
Section
2.5.1.1.1 although this is not required. By providing the user with this one-time value out of band
and then requiring (and validating) it on either the initial (for first time setup) or next session (for existing
users) an institution may establish the client ID received in the session as a “known” client ID value that is
directly associated with the user.
The signon request contains an additional field, <AUTHTOKEN>. Servers use the Signon Realm’s
<AUTHTOKENFIRST> tag to specify that the client is required to send this credential during the initial
signon session. A server may also indicate that this credential is required on the next session by returning
a 15512 error code in a signon response. If this credential is required by the OFX server under either of the
OFX 2.1.1 Specification 495/1/06
above conditions then the server must also use the Signon Realm’s profile tags to specify a label for this
value (<AUTHTOKENLABEL>) as well as a standard URL (<AUTHTOKENINFOURL>) where the one
time authentication token is either directly provided to the user (e.g. they login to the institution’s standard
web banking system and request a credential) or information on how to acquire the credential is given (e.g.
they are instructed to contact customer support).
During initial client software setup (if <AUTHTOKENFIRST> is set to Y in the profile) or upon receipt of
a 15512 error code during a session the client software must inform the user that their institution requires
additional information for the next session and display the <AUTHTOKENINFOURL> to the end-user.
The client software must prompt the user for the entry of the <AUTHTOKEN> value using the
<AUTHTOKENLABEL> as a caption for the data entry field.
This authentication token mechanism is intended for use on an infrequent basis and in conjunction with
client ID functionality. If additional authentication would be required on a regular basis then the
MFACHALLENGE messages would be a more appropriate implementation.
2.5.1.1.4 Access Key <ACCESSKEY>
If the client and server support the MFACHALLENGE request/response and/or the authentication token
functionality, the signon request may include the <ACCESSKEY> tag. When provided by the server, the
client will send the last value of the <ACCESSKEY> it has received.
2.5.1.2 Signon Request <SONRQ>
Unlike other requests, the signon request <SONRQ> does not appear within a transaction wrapper.
Tag Description
<SONRQ>
Signon-request aggregate
<DTCLIENT>
Date and time of the request from the client computer, datetime
This value should reflect the time (according to the client machine) when the request
file is sent to the server, not the (original) creation time of the request file. While not
required for existing software, OFX
2.1.1 clients must comply with this rule. This
clarification is particularly important in error recovery situations in which the request
file may be sent to the server after its initial creation.
User identification.
Either <USERID> and
<USERPASS> or
<USERKEY>, but not
both.
<USERID>
User identification string. To ensure security and help prevent identity fraud, Financial
Institutions are discouraged from using Social Security Number for Customer ID or
PIN/Password. A-32
50 2.5 The Signon Message Set
<USERPASS>
User password on server, A-171
Note: The maximum clear text length of USERPASS is 32 characters: a client must
not send a longer password. However, when using Type 1 security, the encrypted value
may extend to 171 characters.
<USERKEY>
Log in using previously authenticated context, A-64
<GENUSERKEY>
Request server to return a USERKEY for future use, Boolean
<LANGUAGE>
Requested language for text responses, language
<FI>
Financial-Institution-identification aggregate
Note: The client will determine out-of-band whether a FI aggregate should be used
and if so, the appropriate values for it. If the FI aggregate is to be used, then the client
should send it in every request, and the server should return it in every response.
</FI>
<SESSCOOKIE>
Session cookie value received in previous <SONRS>, not sent if first login or if none
sent by FI, A-1000
<APPID>
ID of client application, A-5
<APPVER>
Version of client application, (6.00 encoded as 0600), N-4
<CLIENTUID>
Unique ID identifying OFX client, A-36
<USERCRED1>
Additional user credential required by server, A-171
Note: the effective size of USERCRED1 is A-32. However, if Type 1 security is used,
then the actual field length is A-171.
<USERCRED2>
Additional user credential required by server, A-171
Note: the effective size of USERCRED2 is A-32. However, if Type 1 security is used,
then the actual field length is A-171.
<AUTHTOKEN>
Authentication token required for this signon session only. Credential is provided to
the user out of band, A-171
Note: the effective size of AUTHTOKEN is A-32. However, if Type 1 security is used,
then the actual field length is A-171.
<ACCESSKEY>
Access key value received in prevous <SONRS>, not sent if first login or none sent by
FI, A-1000
<MFACHALLENG
EA>
MFA challenge question/answer aggregates (0 or more). See section 2.5.4.5
</MFACHALLENG
EA>
</SONRQ>
Tag Description
OFX 2.1.1 Specification 515/1/06
2.5.1.3 Signon Response <SONRS>
Unlike other responses, the signon response <SONRS> does not appear within a transaction wrapper.
Note: A client should use <DTPROFUP> and <DTACCTUP> only when the service provider
that originated <SONRS> is the same provider that is specified by <SPNAME> in the profile
message set. A client can determine if the service provider is the same by comparing the value
of <SPNAME> in the appropriate message set with the value for <SPNAME> in the profile
message set.
Tag Description
<SONRS>
Record-response aggregate
<STATUS>
Status aggregate, see section 3.1.5. See list of possible code values in section 2.5.1.4
</STATUS>
<DTSERVER>
Date and time of the server response, datetime
This value should reflect the time (according to the server) when the response file was
originally created. While not required for existing software, OFX 2.1.1 servers must
comply with this rule. This clarification is particularly important in error recovery
situations: The server should (must for OFX 2.1.1 servers) return the time the request
was first processed. If the previous attempt failed after transactions were processed,
<DTSERVER> in the response file would reflect that processing time.
<USERKEY>
Use user key instead of USERID and USERPASS for subsequent requests.
TSKEYEXPIRE can limit lifetime. A-64
<TSKEYEXPIRE>
Date and time that USERKEY expires, datetime
<LANGUAGE>
Language used in text responses, language
<DTPROFUP>
Date and time of last update to profile information for any service supported by this FI
(see
Chapter 7, "FI Profile"), datetime
<DTACCTUP>
Date and time of last update to account information (see Chapter 8, “Activation &
Account Information”), datetime
<FI>
Financial-Institution-identification aggregate
Note: The client will determine out-of-band whether an FI aggregate should be used
and, if so, the appropriate values for it. If the FI aggregate is to be used, then the client
should send it in every request, and the server should return it in every response.
</FI>
<SESSCOOKIE>
Session cookie that the client should return on the next <SONRQ>,A-1000
<ACCESSKEY>
Access key that the client should send in the next <SONRQ>, A-1000
</SONRS>
52 2.5 The Signon Message Set
2.5.1.4 Status Codes
List of status code values for the <CODE> element of <STATUS>:
Value Meaning
0 Success (INFO)
2000 General error (ERROR)
3000 User credentials are correct, but further authentication required (ERROR)
This notifies client to send <MFACHALLENGERQ>.
3001 MFACHALLENGEA contains invalid information (ERROR)
13504 <FI> Missing or Invalid in <SONRQ> (ERROR)
15000 Must change USERPASS (INFO)
15500 Signon invalid (see section 2.5.1) (ERROR)
15501 Customer account already in use (ERROR)
15502 USERPASS Lockout (ERROR)
15506 Empty signon transaction not supported (ERROR)
15507 Signon invalid without supporting pin change request (ERROR)
15510 CLIENTUID error (ERROR)
15511 User should contact financial institution (ERROR)
15512 OFX server requires AUTHTOKEN in signon during the next session
(ERROR)
15513 AUTHTOKEN invalid (ERROR)
OFX 2.1.1 Specification 535/1/06
2.5.1.5 Financial Institution ID <FI>
Some service providers support multiple FIs, and assign each FI an ID. The signon allows clients to pass
this information along, so that providers know to which FI the user is signing on.
If a server does not require an FI aggregate in a request but receives one anyway, it should echo the FI
aggregate back. This is compliant with the general rule that the server should echo elements and aggregates
in the response if they are received and understood in the request.
If a server requires the <FI> aggregate in <SONRQ> requests and it contains incorrect information there
are several different specification compliant ways to respond. These are given in the order of preference:
Return a 2000 error with appropriate text message – since the FI aggregate information is incorrect the
users information (<USERID> and <USERPASS>) cannot be verified. Returning a 15500 might cause
clients to display messages to the user that the attempt to communicate with the server failed. A client
would probably suggest that the user verify their <USERID> and <USERPASS> values.
Return a 15500 error – since the FI aggregate information is incorrect or unknown the server cannot
verify the <USERID>, <USERPASS>, etc.
Return an http 400 error – this is the least desirable option since it will provide no useful feedback to
the client communicating with the server, however it is legal.
Tag Description
<FI>
FI-record aggregate
<ORG>
Organization defining this FI name space, A-32
<FID>
Financial Institution ID (unique within <ORG>), A-32
</FI>
54 2.5 The Signon Message Set
2.5.2 USERPASS Change <PINCHRQ> <PINCHRS>
The client sends a request to change the customer password as a separate request from the signon.
Password changes pose a special problem for error recovery. If the client does not receive a response, it
cannot know whether or not the password change was successful. OFX recommends that servers accept
either the old password or the new password on the connection following the one containing a password
change. When file-based error recovery is in use, the server must reject the old password except when
received with NEWFILEUID/OLDFILEUID headers indicating an error recovery attempt.
Also, if the client does not receive a response that has a status code of 15000 from a server, it cannot know
that a password change is required. In this case, the server should not expect a pin change request in the
signon when the NEWFILEUID/OLDFILEUID headers indicate an error recovery attempt.
Servers that do not support file-based error recovery (or, when interacting with a client that does not utilize
file-based error recovery) must not complete a <PINCHRQ> until after the next request file arrives. If that
request file uses the new password, the new password must be permanently associated with the
<USERID>. Otherwise, the old password may authenticate the user. (For security, servers may return a
signon error if the next request file uses the old password but does not include a <PINCHRQ>.)
Conforming clients should re-send request files (unchanged beyond the <SONRQ>) after a failure whether
or not file-based error recovery is in use.
2.5.2.1 <PINCHRQ>
A <PINCHRQ> request must appear within a <PINCHTRNRQ> transaction wrapper.
A USERPASS change request changes the customers password for the specific realm associated with the
messages contained in the OFX block. Based on the properties of an OFX profile, defined in
Chapter 7,
"FI Profile," a single OFX block contains instructions related to a single realm. The USERPASS change
request thus changes the USERPASS for all message sets associated with one realm. For more information
about signon realms, see section
7.2.2.
Tag Description
<PINCHRQ>
USERPASS-change-request aggregate
<USERID>
User identification string, A-32
Note: The maximum clear text length of USERPASS is 32 characters: a client
must not send a longer password. However, when using Type 1 security, the
encrypted value may extend to 171 characters.
<NEWUSERPASS>
New user password, A-171
Note: The effective size of NEWUSERPASS is A-32. However, if Type 1 security
is used, then the actual field length is A-171.
</PINCHRQ>
OFX 2.1.1 Specification 555/1/06
2.5.2.2 <PINCHRS>
Tag Description
<PINCHRS>
USERPASS-change-response aggregate
<USERID>
User identification string, A-32
<DTCHANGED>
Date and time the password was changed, datetime
</PINCHRS>
A <PINCHRS> response must appear within a <PINCHTRNRS> transaction wrapper.
2.5.2.3 Status Codes
Value Meaning
0 Success (INFO)
2000 General error (ERROR)
15503 Could not change USERPASS (ERROR)
15508 Transaction not authorized (ERROR)
56 2.5 The Signon Message Set
2.5.3 <CHALLENGERQ> <CHALLENGERS>
A challenge request is the first step in Type 1 application-level security. Essentially, it asks for some
random data from the server. The challenge response provides that server-generated random data and is the
second step in Type 1 security.
The challenge message is part of the signon message set and is not subject to data synchronization.
2.5.3.1 <CHALLENGERQ>
A <CHALLENGERQ> is part of a <CHALLENGETRNRQ> transaction, a <CHALLENGERS> part of a
<CHALLENGETRNRS>.
The client includes <FICERTID> in the request if it already has the servers certificate. If that is included
and matches the servers current certificate, the server may omit the actual certificate from the response.
Tag Description
<CHALLENGERQ>
Opening tag for the challenge request.
<USERID>
User identification string, A-32
<FICERTID>
Optional server certificate ID. A-64
</CHALLENGERQ>
Closing tag for challenge request.
2.5.3.2
Tag Description
<CHALLENGERS>
Opening tag for the challenge response.
<USERID>
User identification string, A-32
<NONCE>
Server-generated random data. A-16
<FICERTID>
ID of server certificate used to encrypt. A-64
</CHALLENGERS>
Closing tag for challenge response.
<CHALLENGERS>
When generating the <NONCE>, make sure the data is as unpredictable as possible. See RFC 1750 for
recommendations.
The server includes <FICERTID> in the response to identify the certificate in a separate MIME part. Even
if the certificate itself is not attached, <FICERTID> is still included in the response.
OFX 2.1.1 Specification 575/1/06
2.5.3.3 Status Codes
Status code values for the <CODE> element (contained within the <STATUS> aggregate):
Value Meaning
0 Success (INFO)
2000 General error (ERROR)
15504 Could not provide random data (ERROR)
15508 Transaction not authorized (ERROR)
2.5.4 <MFACHALLENGERQ> <MFACHALLENGERS>
To support authentication mechanisms for which the additional signon information described above is not
sufficient, OFX 2.1.1 introduces a new message, the MFACHALLENGE message. If the information in
the signon request is correct, but it is not sufficient to authenticate the user, the server can reply with an
error code of 3000, which indicates that the client must perform MFACHALLENGE authentication before
proceeding with OFX requests. The server must not process any requests included as part of the message
that resulted in the 3000 error code.
Following receipt of the 3000 error code, the client should request a list of challenge questions with an
<MFACHALLEGERQ>. The server will then respond to this request with a <MFACHALLENGERS>,
which includes the list of authentication questions, specified by ID and label. If for some reason the server
cannot respond with a <MFACHALLENGERS> response, it should respond with an HTTP 400 error.
Note that some of these challenge questions may require user interaction and some may not (if the client
already has access to the necessary information). It is up to the client to determine which questions require
user interaction.
Note: If the profile response contains <MFACHALLENGEFIRST>Y, the client must send an
<MFACHALLENGERQ> request in the first connection with the server, before sending any
other requests.
Once the client has retrieved the answers to the challenge questions (either from the user or another
location), it will then include them within the signon request included as part of the next request message.
If these answers are correct, the server will process the request file. If they are incorrect, the server will
return an error code of 3001.
The client should not need to store the answers to the challenge questions. To prevent servers from needing
to verify the user with each OFX request, the server may respond to a correct set of challenge answers with
the <ACCESSKEY> element on the signon response. The server determines the contents of this optional
element. On each subsequent signon request, the client will send the last value of the <ACCESSKEY> it
has received, even after the end of the current session. The server has the option to respond to any
58 2.5 The Signon Message Set
subsequent request with a 3000 error code, requiring the client to send a <MFACHALLENGERQ>. This
allows the server to determine the lifetime of the <ACCESSKEY>.
The challenge message is part of the signon message set and is not subject to data synchronization.
2.5.4.1 <MFACHALLENGERQ>
<MFACHALLENGERQ> is a request for the server to send a list of challenge questions that must be
correctly answered before the OFX client may proceed with further OFX requests. The
<MFACHALLENGERQ> request should be sent in response to an error code of 3000 or on a first request
to the server if the profile contains <MFACHALLENGEFIRST>Y.
The <MFACHALLENGERS> must appear within a <MFACHALLENGETRNRS> transaction wrapper.
The <MFACHALLENGERQ> request must appear within a <MFACHALLENGETRNRQ> transaction
wrapper.
Tag Description
<MFACHALLENGERQ>
MFA challenge request aggregate
<DTCLIENT>
Date and time of the request from the client computer, datetime
</MFACHALLENGERS>
2.5.4.2 <MFACHALLENGERS>
The <MFACHALLENGERS> response contains the list of questions that must be correctly answered in
the next OFX request. These questions may or may not require user interaction. See the table in Section
2.5.4.4 for more details.
While this specification imposes no upper limit on the number of challenge questions a server sends,
financial institutions and servers should be aware that there may be a limit to the number of questions a
client is able to collect.
The <MFACHALLENGERS> must appear within a <MFACHALLENGETRNRS> transaction wrapper
following the <SONRS> aggregate within the Signon Message set.
Tag Description
<MFACHALLENGERS>
MFA challenge response aggregate
<MFACHALLENGE>
Challenge question aggregate (1 or more)
<MFAPHRASEID>
Identifier for the challenge question. It should be unique for this challenge
question but not unique for the user, session, etc. A-32. See section
2.5.4.4
<MFAPHRASELABEL>
The textual challenge question. This should be as appropriate as possible for
display to the user. A-64
OFX 2.1.1 Specification 595/1/06
2.5.4.3 Status Codes
Value Meaning
0 Success (INFO)
2000 General error (ERROR)
2.5.4.4 <MFAPHRASEID>
The <MFAPHRASEID> tag uniquely identifies a challenge question. In addition to providing a way to
correlate the answers to challenge questions with the questions themselves, it also provides the OFX client
additional options for collecting the answer from the user.
2.5.4.4.1 Enumerated <MFAPHRASEID> Meanings
The following table details the list of reserved values for <MFAPHRASEID>s. Servers should use these
values only when the question they are asking matches the associated question in the table below. Note that
servers are never required to use the reserved values for the phrase ID, even when the challenge question
the servers require does match the question in the table below, but they should be aware that using the
reserved IDs when appropriate may result in a better customer experience.
MFAPHRASEID values above MFA100 are reserved for questions that the server expects the client to
answer. These do not require customer responses. All other enumerated IDs as well as server specific IDs
expect customer responses.
Clients may need to identify out of band which of the IDs above MFA100 they support.
</MFACHALLENGE>
</MFACHALLENGERS>
Value Meaning
MFA1
City of birth
MFA2
Date of birth, formatted MM/DD/YYYY
MFA3
Debit card number
MFA4
Father’s middle name
MFA5
Favorite color
MFA6
First pet’s name
MFA7
Five digit ZIP code
Tag Description
60 2.5 The Signon Message Set
MFA8
Grandmothers maiden name on your fathers side
MFA9
Grandmothers maiden name on your mothers side
MFA10
Last four digits of your cell phone number
MFA11
Last four digits of your daytime phone number
MFA12
Last four digits of your home phone number
MFA13
Last four digits of your social sescurity number
MFA14
Last four digits of your tax ID
MFA15
Month of birth of youngest sibling, do not abbreviate
MFA16
Mothers maiden name
MFA17
Mothers middle name
MFA18
Name of the company where you had your first job
MFA19
Name of the manufacturer of your first car
MFA20
Name of the street you grew up on
MFA21
Name of your high school football team, do not include high school name, e.g. "Beavers"
rather than "Central High Beavers"
MFA22
Recent deposit or recent withdrawal amount
MFA23
Year of birth, formatted YYYY
MFA24
MFA25
MFA26
MFA27
MFA28
MFA29
MFA30
MFA101
Datetime, formatted YYYYMMDDHHMMSS
MFA102
Host name
MFA103
IP Address
MFA104
MAC Address
MFA105
Operating System version
MFA106
Processor architecture, e.g. I386
Value Meaning
OFX 2.1.1 Specification 615/1/06
2.5.4.5 Signon Answers to Challenge Questions <MFACHALLENGEA>
The <SONRQ> following receipt of <MFACHALLENGERS> should contain the answers.
Tag Description
<MFACHALLENGEA>
MFA challenge question/answer aggregate
<MFAPHRASEID>
Identifier for the challenge question. If should be unique for this challenge question,
but not unique for the user, session, etc. A-32. See section
2.5.4.4
<MFAPHRASEA>
Users answer to the challenge question, A-64
</MFACHALLENGEA>
2.5.5 Signon Message Set Profile Information
A server must include the signon message set <SIGNONMSGSET> as part of the <MSGSETLIST>
aggregate in the FI profile, since every server must support signon requests.
The information that is part of the <MSGSETCORE> aggregate (for example, the URL and security level)
is used only when no other message sets are used. Otherwise, the other message sets override the signon
message set for the purposes of batching and routing. For example, if bill payments are sent to a URL that
is different from the one used for signon, the client uses the URL specified in the bill payment message set
<BILLPAYMSGSET>. For more information about how clients batch and route messages, refer to section
7.1.3.
Tag Description
<SIGNONMSGSET>
Signon-message-set-profile-information aggregate
<SIGNONMSGSETV1>
Opening tag for V1 of the message set profile information
<MSGSETCORE>
Common message set information, defined in Chapter 7, "FI Profile"
</MSGSETCORE>
</SIGNONMSGSETV1>
</SIGNONMSGSET>
MFA107
UserAgent
MFA108
MFA109
MFA110
Value Meaning
62 2.5 The Signon Message Set
2.5.6 Examples
User requests a password change (only pin change transaction portion is shown):
<PINCHTRNRQ>
<TRNUID>888</TRNUID>
<PINCHRQ>
<USERID>12345</USERID>
<NEWUSERPASS>5321</NEWUSERPASS>
</PINCHRQ>
</PINCHTRNRQ>
The server responds with:
<PINCHTRNRS>
<TRNUID>888</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PINCHRS>
<USERID>12345</USERID>
</PINCHRS>
</PINCHTRNRS>
-----------------------------------------------------------------
Signon in OFX 2.1.1 which includes CLIENTUID and both additional credential tags:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20060321083010</DTCLIENT>
<USERID>12345</USERID>
<USERPASS>MyPassword</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<APPID>MyApp</APPID>
<APPVER>1600</APPVER>
<CLIENTUID>22576921-8E39-4A82-9E3E-EDDB121ADDEE</CLIENTUID>
OFX 2.1.1 Specification 635/1/06
<USERCRED1>MyPin</USERCRED1><!--Profile has included
<USERCRED1LABEL>PIN:</USERCRED1LABEL>-->
<USERCRED2>MyID</USERCRED2><!--Profile has included
<USERCRED2LABEL>Your ID:</USERCRED2LABEL>-->
</SONRQ>
</SIGNONMSGSRQV1>
…. <!--Other message sets-->
</OFX>
-----------------------------------------------------------------
The following series shows the OFX 2.1.1 exchanges that occur when a server requires the client to
collect a one time authentication token.
Note: This could also be requested in profile, but this example is a case where user is an existing
OFX consumer.
Client sends OFX request to server.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20060321083010</DTCLIENT>
<USERID>12345</USERID>
<USERPASS>MyPassword</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<APPID>MyApp</APPID>
<APPVER>1600</APPVER>
<CLIENTUID>22576921-8E39-4A82-9E3E-EDDB121ADDEE</CLIENTUID>
</SONRQ>
</SIGNONMSGSRQV1>
…. <!--Other message sets-->
</OFX>
Server accepts credentials but wants one-time token.
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
64 2.5 The Signon Message Set
<CODE>15512</CODE>
<SEVERITY>ERROR</SEVERITY>
<MESSAGE>Please provide Authentication Token</MESSAGE>
</STATUS>
<DTSERVER>20060321083015</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
</SONRS>
</SIGNONMSGSRSV1>
---<!--All other transaction responses return <CODE>15500</CODE>-->
</OFX>
Client collects the answers and returns them to server along with the original request.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20060321083415</DTCLIENT>
<USERID>12345</USERID>
<USERPASS>MyPassword</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<APPID>MyApp</APPID>
<APPVER>1600</APPVER>
<CLIENTUID>22576921-8E39-4A82-9E3E-EDDB121ADDEE</CLIENTUID>
<AUTHTOKEN>1234567890</AUTHTOKEN><!—Authentication token
provided to user out of band-->
</SONRQ>
</SIGNONMSGSRQV1>
…. <!--Other message sets-->
</OFX>
Server accepts requests and returns an ACCESSKEY.
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
OFX 2.1.1 Specification 655/1/06
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
<MESSAGE>Success</MESSAGE>
</STATUS>
<DTSERVER>20060321083445</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<ACCESSKEY>EE225228-38E6-4E35-8266-CD69B5370675</ACCESSKEY>
</SONRS>
</SIGNONMSGSRSV1>
--- <!--All other transaction responses-->
</OFX>
On subsequent calls, client will return ACCESSKEY in SONRQ.
-----------------------------------------------------------------
The following series shows the OFX 2.1.1 exchanges that occur when a server requires the client to
collect answers to MFA Challenge questions.
Client sends OFX request to server.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20060321083010</DTCLIENT>
<USERID>12345</USERID>
<USERPASS>MyPassword</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<APPID>MyApp</APPID>
<APPVER>1600</APPVER>
<CLIENTUID>22576921-8E39-4A82-9E3E-EDDB121ADDEE</CLIENTUID>
</SONRQ>
</SIGNONMSGSRQV1>
66 2.5 The Signon Message Set
…. <!--Other message sets-->
</OFX>
Server accepts credentials but wants additional challenge data.
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>3000</CODE>
<SEVERITY>ERROR</SEVERITY>
<MESSAGE>Further information required</MESSAGE>
</STATUS>
<DTSERVER>20060321083015</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
</SONRS>
</SIGNONMSGSRSV1>
--- <!--All other transaction responses return <CODE>15500</CODE>-->
</OFX>
Client requests challenge questions.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20060321083020</DTCLIENT>
<USERID>12345</USERID>
<USERPASS>MyPassword</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<APPID>MyApp</APPID>
<APPVER>1600</APPVER>
<CLIENTUID>22576921-8E39-4A82-9E3E-EDDB121ADDEE</CLIENTUID>
</SONRQ>
OFX 2.1.1 Specification 675/1/06
<MFACHALLENGETRNRQ><!--MFA Challenge Transaction aggregate-->
<TRNUID>66D3749F-5B3B-4DC3-87A3-8F795EA59EDB</TRNUID>
<MFACHALLENGERQ><!--MFA Challenge aggregate-->
<DTCLIENT>20060321083020</DTCLIENT
</MFACHALLENGERQ>
</MFACHALLENGETRNRQ>
</SIGNONMSGSRQV1>
</OFX>
-----------------------------------------------------------------
Server returns challenge answers which include:
• Enumerated phrase ID requiring a user response
• Enumerated phrase ID requiring only client response
• Custom question.
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20060321083025</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
</SONRS>
<MFACHALLENGETRNRS><!--MFA Challenge Transaction aggregate-->
<TRNUID>66D3749F-5B3B-4DC3-87A3-8F795EA59EDB</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
<MESSAGE>SUCCESS</MESSAGE>
</STATUS>
<MFACHALLENGERS><!--MFA Challenge aggregate-->
<MFACHALLENGE>
<MFAPRHASEID>MFA13</MFAPRHASEID>
68 2.5 The Signon Message Set
<MFAPHRASELABEL>Please enter the last four digits of your
social security number.</MFAPHRASELABEL>
</MFACHALLENGE>
<MFACHALLENGE><!--MFA Challenge aggregate w/o a label-->
<MFAPRHASEID>MFA107</MFAPRHASEID>
</MFACHALLENGE>
<MFACHALLENGE><!--MFA Challenge aggregate-->
<MFAPRHASEID>123</MFAPRHASEID>
<MFAPHRASELABEL>With which branch is your account
associated?</MFAPHRASELABEL>
</MFACHALLENGE>
</MFACHALLENGERS>
<MFACHALLENGETRNRS>
</SIGNONMSGSRSV1>
</OFX>
Client collects the answers and returns them to server along with the original request.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20060321083415</DTCLIENT>
<USERID>12345</USERID>
<USERPASS>MyPassword</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<APPID>MyApp</APPID>
<APPVER>1600</APPVER>
<CLIENTUID>22576921-8E39-4A82-9E3E-EDDB121ADDEE</CLIENTUID>
<MFACHALLENGEA> <!--MFA Challenge answer-->
<MFAPRHASEID>MFA13</MFAPRHASEID
<MFAPHRASEA>1234</MFAPHRASEA>
</MFACHALLENGEA>
<MFACHALLENGEA> <!--MFA Challenge answer-->
<MFAPRHASEID>MFA107</MFAPRHASEID>
<MFAPHRASEA>ClientUserAgent</MFAPHRASEA>
</MFACHALLENGEA>
<MFACHALLENGEA> <!--MFA Challenge answer-->
OFX 2.1.1 Specification 695/1/06
<MFAPRHASEID>123</MFAPRHASEID>
<MFAPHRASEA>Anytown</MFAPHRASEA>
</MFACHALLENGEA>
</SONRQ>
</SIGNONMSGSRQV1>
…. <!--Other message sets-->
</OFX>
Server accepts requests and returns an ACCESSKEY.
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
<MESSAGE>Success</MESSAGE>
</STATUS>
<DTSERVER>20060321083445</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>ABC</ORG>
<FID>000111222</FID>
</FI>
<ACCESSKEY>EE225228-38E6-4E35-8266-CD69B5370675</ACCESSKEY>
</SONRS>
</SIGNONMSGSRSV1>
--- <!--All other transaction responses-->
</OFX>
On subsequent calls, client will return ACCESSKEY in SONRQ.
2.6 External Data Support
Some data, such as binary data, cannot easily be sent within XML. For these situations, the specification
defines an element that references some external data. The way that clients pick up the external data
depends on the transport used. For the HTTP-based transport described in this document, servers can send
the data in one of two ways:
Send the same response, using multipart MIME types to separate the response into the Open Financial
Exchange file and one or more external data files
70 2.6 External Data Support
Client can make a separate HTTP get against the supplied URL, if it really needs the data
For example, to retrieve a logo, a <GETMIMERS> might answer a <GETMIMERQ> as follows:
<GETMIMERS>
<URL>https://www.fi.com/xxx/yyy/zzz.jpg</URL>
</GETMIMERS>
If the file includes the same response using multipart MIME, clients must have the local file, zzz.jpg.
OFX 2.1.1 Specification 715/1/06
2.7 Extensions to Open Financial Exchange
An organization that provides a customized client and server that communicate by means of Open
Financial Exchange might wish to add new requests and responses or even specific elements to existing
requests and responses. To ensure that each organization can extend the specification without the risk of
conflict, Open Financial Exchange defines a style of tag naming that lets each organization have its own
naming convention.
Organizations can register a specific tag name prefix. (The specific procedure or organization to manage
this registration will be detailed at a later time.) If an organization registers “ABC,” then they can safely
add new elements and aggregates named <ABC.SOMETHING> without:
Colliding with another party wishing to extend the specification
Confusing a client or server that does not support the extension
The extensions are not considered proprietary. An organization is free to publish their extensions and
encourage client and server implementors to support them.
All tag names that do not contain a period (.) are reserved for use in future versions of the Open Financial
Exchange specification.
Note: Because OFX 2.1.1 forces XML compliance, unrecognized tags (per the DTD) are no
longer allowed in OFX documents. If a client or server wishes to send an OFX document with
tags or elements not found in the official OFX DTD, a modified DTD must be sent with the
OFX document containing the new content so that validating parsers will not fail on parsing the
new tags or elements.
The requirement to send a modified DTD with the document itself can be relaxed for clients
and servers which do not use validating parsers. However, clients and servers using extensions
to OFX must still conform to a mutually agreed upon DTD.
2.8 Backward Compatibility with Pre-OFX 2.1.1 Systems
Post-OFX 2.0 differs from pre-OFX 2.0 mainly through the required use of end tags on all elements and
through the use of an XML compliant header. OFX 1.0.2 required any parser to accept end tags but did not
require clients or servers to send elements with end tags. Therefore, because the actual content of the OFX
message sets has not changed but has been extended only, the transformation between OFX 1.0.2 and post-
OFX 2.0 is fairly simple.
2.8.1 End Tag Usage
OFX 2.1.1 requires the use of end tags in the OFX block of requests and responses. This is necessary to
enforce XML compliance.
72 2.8 Backward Compatibility with Pre-OFX 2.1.1 Systems
2.8.2 XML Compliant Header
Any client or server using OFX 2.1.1 will have to use the XML compliant header. Mapping between the
old and new style of OFX headers is straightforward.
The old OFX header looks like:
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:NONE
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
The new XML compliant OFX header looks like:
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
The old OFX header maps to the new header as follows:
OFXHEADER has the same meaning in both versions.
DATA is not necessary because XML is assumed.
VERSION has the same meaning in both versions.
SECURITY has the same meaning in both versions.
ENCODING is not necessary because it is specified in the standard XML declaration.
CHARSET is not necessary because it is handled by the XML declaration.
COMPRESSION is not necessary because it will not be handled at this data level.
OLDFILEUID has the same meaning in both versions.
NEWFILEUID has the same meaning in both versions.
2.8.3 International Support
XML supports many different types of character encoding. An OFX 2.1.1 server would have to support
the full range of encoding specified in the XML 1.0 recommendation to be fully XML compliant.
However, OFX 1.x only required support for USASCII and UTF-8. Therefore, to guarantee compatibility
with older servers, it will be necessary to limit the encoding of characters to USASCII and UTF-8.
OFX 2.1.1 Specification 735/1/06
2.8.4 Message Set Versioning
OFX 2.1.1 supports all V1 message sets found in the OFX 1.6 specification plus the Loan and Image
message sets.
74 2.8 Backward Compatibility with Pre-OFX 2.1.1 Systems
OFX 2.1.1 Specification 755/1/06
CHAPTER 3 COMMON AGGREGATES, ELEMENTS, AND
DATA TYPES
3.1 Common Aggregates
This section describes aggregates used in more than one service of Open Financial Exchange (for example,
investments and payments).
3.1.1 Identification of Financial Institutions and Accounts
Open Financial Exchange does not provide a universal space for identifying financial institutions,
accounts, or types of accounts. The way to identify an FI and an account at that FI depends on the service.
For information about service-specific ID aggregates, see
Chapter 11, "Banking," Chapter 12,
"Payments," and Chapter 13, "Investments."
3.1.2 Punctuation in Certain User-Supplied Values
This section discusses the addition or removal of punctuation in certain user-supplied values by a client or
server. The term punctuation is loosely used to pertain to the manipulation of these values in such a way as
to make them more readable to either a user or processor, or make them more precise or correct. Making
user-supplied values more readable to the user or processor involves the utilization of punctuation
characters, for example, the stripping out of dashes in a user-supplied account number. Making the values
more precise or correct might involve an actual syntactic change to data, for example, the extension of a
zip code to use the full zip+4 value.
3.1.2.1 Manipulation of User-Supplied Values by a Client
The user-supplied values under consideration here fall into three broad groups:
Values provided for security reasons
Values of critical ID fields
Values of non-critical fields
3.1.2.1.1 Values provided for security reasons
This group pertains to values provided for security reasons such as <USERID> and <USERPASS>
elements. These values must never be manipulated by a client; they are sent without change to the server.
3.1.2.1.2 Values of critical ID fields
This group pertains to critical ID fields, generally account numbers, routing numbers and the like. These
values also should never be manipulated by a client unless the server has supplied the client with a
76 3.1 Common Aggregates
normalizing mask (not available to the customer) such as an <ACCTFORMAT> or <ACCEDITMASK>.
Values in this group, supplied to the client, must be in the correct format already if a server requires it. For
this reason, it is recommended that a server support <ACCTINFORQ> which supplies the information in
the form it is needed. In any event, as part of the enrollment process (either via OFX, the internet, or out of
band) a financial institution should communicate to the end-user which formatting is required. This is
recommended since there may be times when <ACCTINFO> is, for some reason, unavailable.
3.1.2.1.3 Values of non-critical fields
This third group of values relates to certain non-critical fields such as postal codes, addresses and
telephone numbers. Such values should not be manipulated by the client unless there is information that
the client has, which the user may not be aware of, for example, the four additional digits in a U.S. zip
code. In the case where such manipulated data is sent to the server (as opposed to simply displaying it
differently in the application) the client should inform the user that this change will be made, thereby
allowing the user to prevent the change if desired. An example of this would be the substitution of the
name of a township for the name of the larger city encompassing it, based on the postal code value.
3.1.2.2 Validation by a Server
When matching user-supplied text against stored information, servers are free to ignore all supplied
punctuation characters. For example, a server might remove all punctuation from an <ACCTID> before
performing validation. This temporary modification affects neither how the data would be returned, nor its
storage format. Such transformations should not occur with values provided for security reasons such as
<USERID> and <USERPASS> elements.
Servers are permitted to add or remove punctuation or otherwise modify client-supplied information, while
storing the data after processing a (successful) <xxxRQ> or <xxxMODRQ> request. For example, a server
might store only the first five digits of a US <POSTALCODE> value, abbreviate common address
components (storing "St." when the request specified "Street"), or use a special address for well-known
payees. If a server does make such modifications, it must return the client-supplied values verbatim in the
initial response, and treat the modification as a server-initiated action. Therefore, a subsequent
synchronization should include a <xxxMODRS> with the server-stored values and <TRNUID>0 (zero) to
indicate that the server modified the client-supplied values.
This last requirement does not distinguish between insignificant changes (case or abbreviations) and
semantic differences (use of a completely different address for well-known payees). Although it is
recommended that clients be notified of all insignificant storage discrepancies and modifications, it is
required that clients be informed of all other such modifications.
In summary, if, for security reasons, a server will not accept a value that is punctuated differently than
expected, it must force compliance as described in section 3.1.2.1. In some cases where this is not possible,
sending a <xxxMODRS> to force a change on the client side might also be in order. (Note that a
PAYEEMODRS will not affect pending payments so a server may also have to send out-of-band payment
modifications, if applicable.)
OFX 2.1.1 Specification 775/1/06
3.1.3 Echoing in Responses
A server should echo back unedited element values in the immediate response, but may store values in
edited form. In the cases where the stored value is changed, it is recommended that the server respond with
an out-of-band modification synchronization response whenever possible. For example, if a client sends a
payee name of “Sears” but the server stores it as “SEARS”, the server should send a <PAYEEMODRS> in
the next sync response. (See
Chapter 12, "Payments" for clarification of payee issues.) However, if the
server simply edits punctuation in or out of client-supplied numbers such as account numbers and will
match both forms in future requests, it is not required to notify the client.
Any intermediate software should avoid any modifications to these values, thus avoiding the need to
resolve this issue out-of-band.
3.1.4 Balance Records <BAL>
Several responses allow FIs to send an arbitrary set of balance information as part of a response, for
example a bank statement download. FIs might want to send information on outstanding balances,
payment dates, interest rates, and so forth. Balances can report the date the given balance reflects in
<DTASOF>.
Tag Description
<BAL>
Balance-response aggregate
<NAME>
Balance name, A-32
<DESC>
Balance description, A-80
<BALTYPE>
Balance type.
DOLLAR = dollar (value formatted DDDD.cc)
PERCENT = percentage (value formatted XXXX.YYYY)
NUMBER = number (value formatted as is)
<VALUE>
Balance value.
Interpretation depends on <BALTYPE> field, amount
<DTASOF>
Effective date of the given balance, datetime
<CURRENCY>
If dollar formatting, can optionally include currency, see section 5.2
</CURRENCY>
</BAL>
78 3.1 Common Aggregates
3.1.5 Error Reporting <STATUS>
To provide as much feedback as possible to clients and their users, Open Financial Exchange defines a
<STATUS> aggregate. The most important element is the code that identifies the error. Each response
defines the codes it uses. Codes 0 through 2999 have common meanings in all Open Financial Exchange
transactions. Codes from 3000 and up have meanings specific to each transaction.
Clients should assume the burden of checking the profile and not sending a transaction which the server
does not support. If the client goes ahead and sends such a transaction, the server may either return an
HTTP 400 syntax error, or ignore unsupported elements and aggregates. In the latter case, assuming no
other problems occur in processing that request, servers may return warning code 2028 (Request element
unknown). The response file should not contain the unsupported elements or aggregates.
The last 200 error codes in each assigned range of 1000 are reserved for server-specific status codes. For
example, of the general status codes, 2800-2999 are reserved for status codes defined by the server. Of the
banking status codes, codes 10800-10999 are reserved for the server. If a client receives a server-specific
status code of <SEVERITY> ERROR that it does not know, it must handle it as a general error 2000.
Tag Description
<STATUS> Error-reporting aggregate.
<CODE> Error code, N-6
<SEVERITY> Severity of the error:
INFO = Informational only
WARN = Some problem with the request occurred but a valid response still present
ERROR = A problem severe enough that response could not be made
<MESSAGE> A textual explanation from the FI. Note that clients will generally have messages of their
own for each error ID. Use this element only to provide more details or for the general
errors. A-255
</STATUS>
OFX 2.1.1 Specification 795/1/06
For general errors, the server can respond with one of the following <CODE> values. However, not all
codes are possible in a specific context.
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
Note: Servers should provide a more specific error whenever possible. Error 2000
should be reserved for cases in which a more specific code is not available.
2021 Unsupported version (ERROR)
2028 Requested element unknown (WARNING)
3000 MFA challenge authentication is required (ERROR)
6502 Unable to process embedded transaction due to out-of-date <TOKEN> (ERROR)
15500 Signon invalid (see section 2.5.1) (ERROR)
15512 OFX server requires AUTHTOKEN in signon during the next session (ERROR)
See section 2.5.1.4 for a complete list.
Note: Clients will generally have error messages that are based on <CODE>. Therefore, do not
use <MESSAGE> to replace that text. Use <MESSAGE> only to explain an error not well
described by one of the defined codes, or to provide some additional information.
<MESSAGE> should be returned whenever the <CODE> can be refined. For example,
<CODE>2000 should always be accompanied with a <MESSAGE> explaining the problem.
3.1.6 Common Aggregates related to Images
3.1.6.1 Image Data Aggregate <IMAGEDATA>
Several OFX request and response pairs allow clients to request, and FIs to send, instructions for accessing
images. These instructions contain image retrieval information but not the actual images themselves. This
information is returned in the <IMAGEDATA> aggregate, and is used by the client to retrieve the actual
images, as described in Chapter 15, “Image Download”.
Tag Description
<IMAGEDATA>
Image information
<IMAGETYPE>
Type of image. Use one of the following:
STATEMENT: the image is a statement image
TRANSACTION: the image is a transaction image (e.g. a check image)
TAX: the image is a tax image
80 3.1 Common Aggregates
Each image corresponds to one <IMAGEDATA> aggregate. The number of <IMAGEDATA> aggregates
returned in a statement download or closing response depends upon the type of response. A closing
statement will be contained in one image. A check image, however, will be contained in one or two
images, depending on whether the front and back are concatenated. Therefore, only one <IMAGEDATA>
aggregate will be returned in the various <xxxSTMTENDRS> responses and one or two <IMAGEDATA>
aggregates will be returned in the <xxxSTMTTRN> responses since the latter correspond to individual
transactions (e.g. checks).
If <IMAGEDELAY>, <DTIMAGEAVAIL> and/or <IMAGETTL> are missing from the <IMAGEDATA>
aggregate, and corresponding default tags are missing from the <IMAGEMSGSET> profile aggregate, the
presumption should be made that the images are available immediately and will remain available for an
indeterminate number of days.
<IMAGEREF>
Server specified unique identifier for the image to be used during the request for
the image. Can be either image identifier or URL, depending on the value of
<IMAGEREFTYPE>, A-1024
<IMAGEREFTYPE>
Type of reference, see section 3.1.6.1.1.
Account-from options.
Choose either
<IMAGEDELAY> or
<DTIMGAVAIL>.
<IMAGEDELAY>
Number of calendar days from <DTSERVER> (for statement images) or
<DTPOSTED> (for transaction images) when image will become available, N-5
-or-
<DTIMAGEAVAIL>
Image availability date, datetime
<IMAGETTL>
Number of calendar days the image will remain available on the host once the
image becomes available, N-5
<CHECKSUP>
Check image information. Use one of the following:
FRONTONLY: The image contains the front of the check.
BACKONLY: The image contains the back of the check.
FRONTANDBACK: The image contains both the front and back of the check.
</IMAGEDATA>
Tag Description
OFX 2.1.1 Specification 815/1/06
3.1.6.1.1 Values for <IMAGEREFTYPE> Element
Value Description
OPAQUE The image is accessed via an explicit OFX <IMAGERQ> request,
which will be followed by the image data. See section
15.2.1 for
more information
URL The image is accessed directly via the URL provided. The image
cannot be retrieved via an OFX image request. The expectation is
that the client will not provide authentication and will simply
follow the URL provided. See section
15.2.2 for more information.
FORMURL The image is accessed directly via an encoded URL. The image
cannot be retrieved via an OFX image request. The expectation is
that the client will send authentication to the server. See section
15.2.3 for more information.
3.1.6.2 Image Profile Aggregate <IMAGEPROF>
The following aggregate may appear in various profile responses and will be referred to in those profile
sections where appropriate.
Tag Description
<IMAGEPROF> Image Profile (if supported)
<CLOSINGIMGAVAIL> Whether the server supports closing statement images, Boolean
<TRANIMGAVAIL> Whether the server supports transaction images, Boolean
</IMAGEPROF>
82 3.2 Common Elements
3.2 Common Elements
This section defines elements used in several services of Open Financial Exchange. The format of the
value is either character (A-n) or numeric (N-n) with a maximum length n; or as a named type. Section
3.2.8 describes the named types.
3.2.1 Client-Assigned Transaction UID <TRNUID>
Format: A-36
Open Financial Exchange uses <TRNUID>s to identify transactions within transaction wrappers
(<xxxTRNRQ>, </xxxTRNRQ>).
In most cases, clients originate <TRNUID>s. When a client originates a <TRNUID>, the value of the
<TRNUID> is always set to a unique identifier. The server must return the same <TRNUID> in the
corresponding response and any later synchronization responses that include this response. Clients may
use this <TRNUID> to match up requests and responses or to recognize synchronized responses for
transactions they did not initiate. Servers can use <TRNUID>s to reject duplicate requests. Because
multiple clients might be generating requests to the same server, transaction IDs must be unique across
clients. Thus, <TRNUID> must be a globally unique ID.
In some cases, servers can originate a transaction that was not specifically requested by a client. For
instance, a client might set up a recurring payment model. Although the client originates the payment
model, the server originates the individual payments. Whenever the server originates a transaction, the
value of the <TRNUID> must be set to zero. Lite synchronization servers (see
Chapter 6, "Data
Synchronization") must respond to synchronization requests with information about all changes of this
type.
The Open Software Foundation Distributed Computing Environment standards specify a 36-character
hexadecimal encoding of a 128-bit number and an algorithm to generate it. Clients are free to use their own
algorithm, to use smaller <TRNUID>s, or to relax the uniqueness requirements. However, it is
RECOMMENDED that clients allow for the full 36 characters in responses to work better with other
clients.
For example: A client creates a new recurring payment using <RECPMTRQ> in a <RECPMTTRNRQ>
with <TRNUID>123. Later, the same client might cancel the model using <RECPMTCANRQ> in a
<RECPMTTRNRQ> with <TRNUID>456. The server would inform the client of any spawned payments
using <PMTRS> responses with <TRNUID>0 in later payment synchronization responses
(<PMTSYNCRS>).
Usage: All services
3.2.2 Server-Assigned ID <SRVRTID>
Format: A-10 for <SRVRTID>
OFX 2.1.1 Specification 835/1/06
A <SRVRTID> is a server-assigned ID for an object that is stored on the server. It should remain constant
throughout the lifetime of the object on the server. The client will consider the SRVRTID as its “receipt” or
confirmation and will use this ID in any subsequent requests to change, delete, or inquire about this object.
A <SRVRTID> is not unique across FI’s or Service Providers, and clients might need to use FI +
<SPNAME> + <SRVRTID> when a unique key is necessary.
A <SRVRTID> must be unique across users for joint accounts. Therefore, it is not sufficient to just keep
the <SRVRTID> unique to an account if it is shared by more than one user.
Where the context allows, a server may use the same value for a given server object for both <SRVRTID>
and <FITID>, but the client will not know this. In this case, the server must assign <SRVRTID> and
<FITID> values that are more unique than otherwise required. Because of the differing uniqueness
constraints on the individual elements, such a reused value must be unique throughout the FI.
For example: The server creates the new recurring model from the example in section 3.2.1 with
<RECSRVRTID>1234:5687. The server uses this identifier in the initial <RECPMTRS> and any
synchronization responses that reference this model. The client references the same <RECSRVRTID> in
the later <RECPMTCANCRQ>.
If any payments are spawned from this model before it is cancelled, they would each have their own
<SRVRTID> value (for example, <SRVRTID>8765:4321 and <SRVRTID>8765:4322). The <SRVRTID>
value for one of the spawned payments may match the <RECSRVRTID> of the model. Such a match is not
required for any spawned payment. To guarantee uniqueness of the payment identifiers, no more than one
spawned payment may use the <RECSRVRTID> value of its model.
Usage: Banking, Payments, Investments, Bill Presentment, Tax
Elements of this type: RECSRVRTID and SRVRTID
3.2.3 Financial Institution Transaction ID <FITID>
Format: A-255
An FI (or its Service Provider) assigns an <FITID> to uniquely identify a financial transaction that can
appear in an account statement. Its primary purpose is to allow a client to detect duplicate responses. Open
Financial Exchange intends <FITID> for use in statement download applications, where every transaction
(not just those that are client-originated or server-originated) requires a unique ID.
An <FITID> also uniquely identifies the closing statement in <CLOSINGRS> and <CCCLOSINGRS>.
Again, the OFX client should detect repeated closing statements (duplicate downloads) using these
identifiers.
FITIDs must be unique within the scope of an account but need not be sequential or even increasing.
Clients should be aware that FITIDs are not unique across FIs. If a client performs the same type of request
within the same scope at two different FIs, clients will need to use FI + <ACCTID> + <FITID> as a
84 3.2 Common Elements
globally unique key in a client database. That is, the <FITID> value must be unique within the account and
Financial Institution (independent of the service provider).
Note: Although the specification allows FITIDs of up to 255 characters, client performance
may significantly improve if servers use fewer characters. It is recommended that servers use
32 characters or fewer.
For example: The two spawned payments mentioned in section 3.2.1 are processed and later downloaded
in a <STMTRS>. The first payment’s <STMTTRN> would list <SRVRTID>8765:4321,
<RECSRVRTID>1234:5678, and <FITID>9999:8888:7777. The second payment would be described in a
<STMTTRN> containing <SRVRTID>8765:4322, <RECSRVRTID>1234:5678, and
<FITID>6666:5555:4444.
Usage: Bank statement download, investment statement download
Elements of this type: <CORRECTFITID>, <FITID>, <RELFITID>, and <REVERSALFITID>
OFX 2.1.1 Specification 855/1/06
3.2.4 Token <TOKEN>
Format: A-10 for <TOKEN>, used in V1 message sets
Open Financial Exchange uses <TOKEN> as part of data synchronization requests to identify the point in
history that the client has already received data, and in responses to identify the servers current end of
history. See Chapter 6, “Data Synchronization,” for more information.
<TOKEN> is unique within an FI and the scope of the synchronization request. For example, if the
synchronization request includes an account ID, the <TOKEN> needs to be unique only within an account.
Servers are free to use a <TOKEN> that is unique across the entire FI. Clients must save separate
<TOKEN>s for each account, FI, and type of synchronization request.
Usage: All synchronization requests and responses
3.2.5 Transaction Amount <TRNAMT>
Format: Amount
Open Financial Exchange uses <TRNAMT> in any request or response that reports the total amount of an
individual transaction.
Usage: Bank statement download, investment statement download, payments
3.2.6 Memo <MEMO>
Format: A-255 for <MEMO>, used in V1 message sets
A <MEMO> provides additional information about a transaction.
Usage: Bank statement download, transfers, payments, investment statement download, bill presentment
tables
86 3.2 Common Elements
3.2.7 Date Start and Date End <DTSTART> <DTEND>
Format: Datetime
Clients use these elements in requests to indicate the range of response that is desired. Servers use these
elements in responses to let clients know what the FI was able to produce.
In requests, the following rules apply:
If <DTSTART> is absent, the client is requesting all available history (up to the <DTEND>, if
specified). Otherwise, it indicates the inclusive date and time in history where the client expects servers
to start sending information.
If <DTSTART> is absent, the client is requesting all available history (up to the <DTEND>, if
specified). Otherwise, it indicates the inclusive date and time in history where the client expects servers
to start sending information. This inclusiveness also applies to the time element. And, because servers
and clients may store time elements to differing degrees of precision, the server should include
transactions in the response using the highest degree of precision possible. For example:
If the request does not include a time element, then all transactions on or after the date portion
should be returned.
If the request includes time specified to milliseconds but the bank system only has time specified to
seconds on its transactions, then all transactions on or after the date/time (specified to seconds)
should be returned.
If <DTEND> is absent, the client is requesting all available history (starting from <DTSTART>, if
specified). Otherwise, it indicates the exclusive date and time in history where the client expects servers
to stop sending information. This exclusiveness also applies to the time element. And, because servers
and clients may store time elements to differing degrees of precision, the server should include
transactions in the response using the highest degree of precision possible. For example:
If the request does not include a time element, then all transactions before the date portion should be
returned.
If the request includes time specified to milliseconds but the bank system only has time specified to
seconds on its transactions, then all transactions before the date/time (specified to seconds) should
be returned.
In responses, the following rules apply:
<DTSTART> is the date and time where the server began looking for information, not necessarily the
date of the earliest returned information. If the response <DTSTART> is later than the requested
<DTSTART>, clients can infer that the user has not signed on frequently enough to ensure that the
client has retrieved all information. If the user has been calling frequently enough, <DTSTART> in the
response will match <DTSTART> in the request.
<DTEND> is the date and time that, if used by the client as the next requested <DTSTART>, it would
pick up exactly where the current response left off. It is the exclusive date and time in history where the
server stopped looking for information, based on the request <DTEND> rules.
OFX 2.1.1 Specification 875/1/06
Because the system add date for a transaction is not necessarily the post date for the transaction (the latter
occurring when the account is actually debited or credited), a server should consider the <DTSTART> and
<DTEND> dates in a <(CC)STMTRQ> as a request for any transactions that were posted or added to the
FI system at that time. In addition, the transactions returned should probably span a greater window of time
than that included in the <DTSTART>/<DTEND> dates since a transaction might be added to the system
after a statement download request was made for that time period. (Clients should be able to filter out the
unnecessary transactions.) If a client is always requesting a download sequentially, through time, is never
requesting an end date using <DTEND> and is always substituting <DTEND> in the response for
<DTSTART> in the next request, it is safe for a server to return only those transactions that had a system
add date on or after <DTSTART> in the request. In all cases, servers are minimally required to use a
“system add datetime” as the basis for deciding which details match the requested date range. For example,
if an FI posts a transaction dated Jan 3 to a users account on Jan 5, and a client connects on Jan 4 and
again on Jan 6, the server is required to return that Jan 3-dated transaction when the client calls on Jan 6.
Usage: Bank statement download, investment statement download, 401(k) summary, bill presentment list
request
88 3.2 Common Elements
3.2.8 Common Data Types
3.2.8.1 Dates, Times, and Time Zones
There is one format for representing dates, times, and time zones. The complete form is:
YYYYMMDDHHMMSS.XXX [gmt offset[:tz name]]
3.2.8.1.1 Ranges for Years, Months, Days, Hours, Seconds
Portion of Date/Time Field Range
YYYY 0000 - 9999
MM 1 - 12
DD 1 - 31
HH 0 - 23
MM 0 - 59
SS 0 - 60
60 is only used in the case of the leap second
3.2.8.2 Date and Datetime
Elements specified as type date or datetime and generally starting with the letters “DT” accept a fully
formatted date-time-timezone string. For example, “19961005132200.124[-5:EST]” represents October 5,
1996, at 1:22 and 124 milliseconds p.m., in Eastern Standard Time. This is the same as 6:22 p.m.
Greenwich Mean Time (GMT).
Date and datetime also accept values with fields omitted from the right. They assume the following
defaults if a field is missing:
Specified date or datetime Assumed defaults
YYYYMMDD 12:00 AM (the start of the day), GMT
YYYYMMDDHHMMSS GMT
YYYYMMDDHHMMSS.XXX GMT
Note that times zones are specified by an offset and optionally, a time zone name. The offset defines the
time zone. Valid offset values are in the range from –12 to +12 for whole number offsets. Formatting is
+12.00 to -12.00 for fractional offsets, plus sign may be omitted.
Take care when specifying an ending date without a time. For example, if the last transaction returned for
a bank statement download was Jan 5 1996 10:46 am and if the <DTEND> was given as just Jan 6, the
next statement download request would have a <DTSTART> of just Jan 6, causing any transactions posted
OFX 2.1.1 Specification 895/1/06
on Jan 5 after 10:46 am to be missed. If results are available only daily, then just using dates and not times
will work correctly.
Note: Open Financial Exchange does not require servers or clients to use the full precision
specified. However, they are REQUIRED to accept any of these forms without complaint.
Some services extend the general notion of a date by adding special values, such as “TODAY.” These
special values are called “smart dates.” Specific requests indicate when to use these extra values, and list
the element as having a special data type.
90 3.2 Common Elements
3.2.8.3 Time
Elements specified as type time and generally ending with the letters “TM” accept times in the following
format:
HHMMSS.XXX[gmt offset[:tz name]]
The milliseconds and time zone are still optional, and default to GMT.
3.2.8.4 Time Zone Issues
Several issues arise when a customer and FI are not in the same time zone, or when a customer moves a
computer into new time zones. In addition, it is generally unsafe to assume that computer users have
correctly set their time or time zone.
Although most transactions are not sensitive to the exact time, they often are sensitive to the date. In some
cases, time zone errors lead to actions occurring on a different date than intended by the customer. For this
reason, servers should always use a complete local time plus GMT offset in any datetime values in a
response. If a customers request is for 5 p.m. EST, and a server in Europe responds with 1 a.m. MET the
next day, a smart client can choose to warn the customer about the date shift.
Clients that maintain local state, especially of long-lived server objects, should be careful how they store
datetime values. If a customer initiates a repeating transaction for 5 p.m. EST, then moves to a new time
zone, the customer might have intended that the transaction remain 5 p.m. in the new local time, requiring
a change request to be sent to the server. If, however, the customer intended it to remain fixed in server
time, this would require a change in the local time stored in the client.
Client software that doesn’t know the current local time zone for the user, or client proxies that don’t know
the current local time zone of their end users, should maintain and display the datetime value in the time
zone indicated by the originator of the value and explicitly marked with that time zone. As an example,
consider <DTPMTDUE> in section 11.5.4.2. If the biller gave a due date of 23:59pm EST on Dec. 29,
1997, this is best displayed as 23:59pm EST rather than rendered in local time if there is any doubt at all as
to the current local time zone of the end user looking at the due date.
OFX 2.1.1 Specification 915/1/06
When considering timezone conversions, remember the following differences between the date and
datetime datatypes:
Date = A date without time; this date is explicit. Clients and servers will not convert the value in any
way. Examples include birth date and billing date.
Datetime = A date and time format; clients and servers may convert this date to their local timezone.
Examples include last account update date and bill summary fetch date.
Note: Developers should consider the possibility of a date change due to timezone conversion.
A datetime value in the GMT timezone with a time of 12:00:00 (noon) would be converted to
another time on the same date in every timezone. For example, 199812251200 remains
Christmas Day in every timezone.
3.2.9 Amounts, Prices, and Quantities
3.2.9.1 Basic Format
Format: A-32
This section describes the format of numerical values used for amounts, prices, and quantities. In all cases,
a numerical value that does not contain a decimal point has an implied decimal point at the end of the
value. For example, a numerical value of “550” is equivalent to “550.” Trailing and leading spaces should
be stripped. Number format uses a leading sign. Negative number format uses a minus sign (-). Positive
number format uses a plus sign (+). The plus sign is implied for all amounts and can be omitted.
The following types are defined to have a maximum of 32 characters, including alphabetic characters,
digits and punctuation. However, clients and servers may have specific limits for the maximum number of
digits to the left or right of a decimal point. If a server cannot support a client request due to the size or
precision of a number, the server should return status code 2012.
Amount: Amounts that do not represent whole numbers (for example, 540.32), must include a decimal
point or comma to indicate the start of the fractional amount. Amounts should not include any punctuation
separating thousands, millions, and so forth. The maximum value accepted depends on the client.
Quantity: Use decimal notation.
Unitprice: Use decimal notation. Unless specifically noted, prices should always be positive.
Rate: Use decimal notation, with the rate specified out of 100%. For example, 5.2 is 5.2%. Rates can be
greater than 100 and can be negative.
Some services define special values, such as INFLATION, which you can use instead of a designated
value. Open Financial Exchange refers to these as “smart types,” and identifies them in the specification.
92 3.2 Common Elements
3.2.9.2 Positive and Negative Signs
Most OFX transaction aggregates describe the flow of funds. Amounts in transactions which clearly
describe the flow of funds should normally be positive. For example, bank transfers (<INTRARQ>), bill
payments (<PMTRQ>) and investment buys/sells (<BUYSTOCK>, <SELLSTOCK>) should all have
positive amounts. An exception to this is the sign of the amount in statement download transactions,
wrapped within <STMTTRN></STMTTRN> tags. The amounts in these transactions should be signed on
the basis of how the account is affected, e.g. a <TRNTYPE>DEBIT should have a negative <TRNAMT>
value.
Servers should sign amounts from the perspective of the user in cases where the flow of funds cannot be
determined from the transaction aggregate alone. For example, interest amounts can be either positive or
negative, depending on whether the interest is earned or paid.
3.2.10 Language
Language identifies the human-readable language used for such things as status messages and e-mail.
Language is specified as a three-letter code based on ISO-639.
3.2.11 Other Basic Data Types
Boolean: Y = yes or true, N = no or false.
currsymbol: A three-letter code that identifies the currency used for a request or response. The currency
codes are based on ISO-4217. For more information about currencies, refer to section 5.2.
URL: String form of a World Wide Web Uniform Resource Location. It should be fully qualified including
protocol, host, and path. A-255
OFX 2.1.1 Specification 935/1/06
CHAPTER 4 OFX SECURITY
OFX provides several options for ensuring the security of customer transactions. This chapter describes the
OFX security framework, security goals, types of security, and financial institution (FI) responsibilities.
4.1 Security Concepts in OFX
4.1.1 Architecture
OFX security applies to the communication paths between a client and the profile server, a client and the
Web server, and, when the OFX server is separate from the Web server, a client and the OFX server. The
diagram below illustrates the initial order in which these communications occur, assuming that the client
already has the URL for the FI profile server.
The bootstrap process for a client is:
From the FI Profile Server, the client gets the URL of the FI Web server, so that it can retrieve a
particular message set.
The client sends an OFX request to the FI Web Server URL, from which it is forwarded to the OFX
Server.
The OFX Server sends back a response to the client via the Web Server.
Financial Institution or 3rd Party
Financial Institution or Third Party
CLIENT
PROFILE
SERVER
F
I Identifier
FI Profile
including
Web Server URL
WEB
SERVER
OFX Request
OFX
SERVER
OFX Response
94 4.1 Security Concepts in OFX
4.1.2 Security Goals
The main goals of OFX security are:
Privacy: Only the intended recipient can read a message. Encryption is a technique often used to
ensure privacy.
Authentication: The recipient of a message can verify the identity of the sender. In OFX, passwords
allow an FI to authenticate a client, and certificates allow a client to authenticate a server.
Integrity: A message cannot be altered after it is created A cryptographic hash is often used to assist
integrity verification.
OFX specifies the minimum security required for Internet transactions and provides several security
options, based on existing standards. Through its choice of security techniques and related options, an FI
can achieve privacy, authentication, and integrity with varying degrees of assurance. For example, there
are many kinds of encryption algorithms, most of which can be strengthened or weakened by changing the
key size.
4.1.3 Security Standards
Several standards underlie Type 1 security:
Certificates (X.509 v3) are used to identify and authenticate servers, and to convey their public keys.
PKCS #1 block type 2 is the encryption format specified by the recipe (See section 4.2.2.4.3).
RSA is the encryption algorithm.
4.1.3.1 Certificates and Certification Authorities
A certificate is a digitally signed document that binds a public key to an identity. It contains a public key
that identifies information such as the name of the person or organization to whom the key belongs, an
expiration date, a unique serial number, and additional descriptive information.
A certificate is useful for authentication because it is signed by a trusted third-party. This assures the
verifier that the certificate has not been changed since it was signed. The entity which signs certificates is
called a certification authority, or CA. A CA acts somewhat like a notary public: the reader of a document
stamped by a notary public knows that the notary has checked the identity of the person who originated the
document. By digitally signing someones identity and public key, the CA affirms that the two go together.
If the client and server do not share a common CA, the client cannot validate the servers certificate. For
this reason, OFX specifies a number of trusted CAs that all clients must accept and all servers must use.
Certificates are used in Type 1 security, as well as channel-level security through SSL. The format for
these is defined by X.509 version 3. For more information, refer to ITU-T Rec. X.509, ISO/IEC 9594-8.
OFX 2.1.1 Specification 955/1/06
4.1.3.2 PKCS #1
The acronym, PKCS, stands for “Public Key Cryptography Standards,” a set of standards developed by a
consortium and hosted by RSA. PKCS #1 is the RSA Encryption Standard, the rules for using RSA public
key encryption. For the complete syntax of the PKCS #1 standard, refer to “Public-Key Cryptography
Standards (PKCS)” published by RSA Data Security, Inc. at http://www.rsa.com/.
4.1.4 FI Responsibilities
OFX is designed with the understanding that there must be a security policy in place at each supporting
financial institution. That policy must clearly delineate how customer data is secured, and how transactions
are managed such that all parties to the transaction are protected according to accepted and recognized best
common practices.
The decision regarding which users may perform a given operation on a given account must be determined
by the financial institution. For example, is the specified user authorized to perform a transfer from the
specified account? The financial institution must also determine whether the user has exceeded allowed
limits on withdrawals, whether the activity on this account is unusual given past history, and other context-
sensitive issues.
Although OFX provides many security options, an FI must support a minimal level of security. To ensure
the proper security configuration, an FI must follow the steps outlined below.
1. Obtain one certificate for the profile server. This certificate must be rooted in one of the approved
Certification Authorities (CAs). Establish appropriate safeguards for this certificate and its private key.
2. Obtain a certificate, rooted in an acceptable CA, for each OFX server, whether it is operated by the FI
or by a third party.
3. Decide whether to use Type 1 application-level security for any message sets. For each message set to
be secured by Type 1, obtain a certificate.
Type 1 security can be used on any message set, except for the Profile message set.
There are a number of other security issues beyond OFX proper, especially those relating to the Internet
and network engineering. These issues are beyond the scope of this document. FIs are advised to conduct a
complete security review of all servers associated with OFX.
96 4.1 Security Concepts in OFX
4.1.5 Security Levels: Channel vs. Application
With OFX, security can be applied at two different levels in the message exchange process.
Channel level: Generally transparent to a client or server, channel-level security is built into the
communication process, protecting messages between two ends of the “pipe.” To secure messages
during HTTP transport, client and server applications use the Secure Sockets Layer (SSL) protocol.
SSL transparently protects messages exchanged between the client and the destination Web server. SSL
authenticates the destination Web server using the Web servers certificate. Additionally, it provides
privacy via encryption, and SSL-record integrity, i.e. the block of data sent in each transmission cannot
be altered without detection.
Application level: Transparent to and independent of the transport process, application-level security
protects the user password sent from the client application all the way to the server application that
handles the OFX messages. The server application typically resides beyond the destination Web server,
secured behind an Internet firewall. Application-level security requires channel-level security.
The following diagram illustrates how channel-level and application-level security relate. The diagram
shows the path of a request from the client to the server when application-level encryption is used.
CLIENT
WEB
SERVE
R
OFX
SERVE
R
SSL Encryption
OFX Dat a
Encrypte d
Password
OFX Dat a
Encrypte d
Password
Passwords are encrypted by the
cl ient applicat ion and by the
SSL Prot ocol
The Web server removes the
SSL encryption and forwar ds
the encrypted password and
p
laintext OFX data
CLIENT
WEB
SERVER
OFX
SERVER
SSL Encryption
OFX Data
Encrypted
Password
OFX Data
Encrypted
Password
Passwords are encrypted by the
client application and by the
SSL Protocol
The Web server removes the
SSL encryption and forwards
the encrypted password and
p
laintext OFX data
Channel-level security is sufficient for most message sets, provided that the network architecture at the
destination is adequately secure; however, application-level password encryption can allow a more flexible
back-end architecture with a high level of security.
OFX 2.1.1 Specification 975/1/06
4.2 Security Implementation in OFX
4.2.1 Channel-Level Security
4.2.1.1 Specification in FI Profile
For each message set listed in the FI profile response, the <MSGSETCORE> aggregate describes the
channel-level security required for that message set.
The <TRANSPSEC> element defines whether or not channel-level security is required. It can have one of
the following values:
Tag Description
N Do not use any channel-level security
Y Use channel-level security
All currently defined message sets require channel-level security.
4.2.1.2 SSL Protocol
Secure Sockets Layer (SSL) is a cryptographic protocol commonly used for channel-level security on the
Internet. Central to the security of SSL is the server certificate. This certificate assures clients that the
server is who it claims to be. It contains the public key of the server, which the client uses to encrypt the
session keys it generates as part of each connection.
All of this function is available without significant software development on either the client or server side;
however, the client and server must be configured to use appropriate encryption algorithms (CipherSuites).
In addition, clients and servers must share a trusted root certificate, or the client will not be able to validate
the server’s certificate.
Note: Although SSL supports client-side certificates to allow a server to authenticate a client,
OFX does not require them at this time. To identify and authenticate a customer, servers should
use the information provided in the signon request <SONRQ>.
Setting the <TRANSPSEC> element to Y means that the client must use SSL v3 or higher.
98 4.2 Security Implementation in OFX
4.2.1.3 Trusted Certificate Authorities
Both channel-level and application-level security rely on clients and servers having at least one trusted
certification authority (CA) in common. To ensure that clients can test the validity of a certificate, servers
must have their certificates signed by an approved OFX CA. Clients are assumed to have access to this
trusted CA.
4.2.1.4 CipherSuites
The following SSL CipherSuites are approved for use with OFX:
SSL_RSA_WITH_RC4_128_SHA
SSL_RSA_WITH_IDEA_CBC_SHA
SSL_RSA_WITH_DES_CBC_SHA
SSL_RSA_WITH_3DES_EDE_CBC_SHA
SSL_DH_DSS_WITH_DES_CBC_SHA
SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA
SSL_DH_RSA_WITH_DES_CBC_SHA
SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA
SSL_DHE_DSS_WITH_DES_CBC_SHA
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
SSL_DHE_RSA_WITH_DES_CBC_SHA
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
Other CipherSuites are not approved.
4.2.1.5 Key Size
Signing keys must be either RSA with a minimum 1024-bit modulus, or DSS with a 1024-bit modulus.
Server RSA keys and Diffie-Hellman keys must both have a minimum 1024-bit modulus. The Diffie-
Hellman base must be primitive.
OFX 2.1.1 Specification 995/1/06
4.2.2 Application-Level Security
4.2.2.1 Specification in FI Profile
For each message set listed in the FI profile response, the <MSGSETCORE> aggregate describes the
security required for that message set.
The <OFXSEC> element defines the type of application-level security required for the message set.
<OFXSEC> can have one of the following values, which also are used in the SECURITY element of the
OFX headers:
Tag Description
NONE Do not use any application-level security
TYPE1 Use Type 1 application-level security
Application-level security requires channel-level security.
4.2.2.2 Type 1 Protocol Overview
The goal of the Type 1 protocol is to protect the user password all the way to the destination OFX server. In
the absence of client certificates, this password is the primary vehicle for client authentication and is
therefore worthy of special consideration.
Type 1 requires channel-level security, i.e. SSL. Though the password is well protected by SSL alone in
the client to Web server connection, the server-side network architecture may render the password less
secure while it is in transit between the Web and OFX servers. With Type 1, the user password is not
decrypted until the request reaches the OFX server.
Type 1 applies only to the request part of a message; the server response is unaffected.
A simple approach would be to deliver the servers Type 1 certificate in the profile and use it to encrypt the
password, but that would permit a replay attack. An attacker could capture a transaction, including
encrypted password, and replay it to the server. It wouldn’t matter that the password remained unknown.
To prevent the replay attack, the server introduces some random data to the process, data which is
unpredictably different for each transmission. The client asks for the random data with a challenge request.
The server sends it, along with its Type 1 certificate, in the challenge response. The client then uses that
random data in the encryption process, thereby assuring the server that the client response is associated
with this and only this interaction.
The following diagram illustrates:
CLIENT
Challen
g
e re
q
ues
t
WEB
SERVER
OFX
SERVER
Challenge response
w/ random data
OFX request w/
encrypted password
OFX res
p
onse
100 4.2 Security Implementation in OFX
4.2.2.3 Type 1 Protocol Notation
In this section, the expression, C = E
A
(M), means that plain text M is encrypted either symmetrically or
asymmetrically with key A into ciphertext C. The expression, M = D
A
(C) signifies the inverse operation
(decryption), in which ciphertext C is decrypted into plain text M using key A. If C was encrypted
asymmetrically, then A in the latter case is understood to be the private component of the key. The
expression, A || B, indicates that B is concatenated to A.
4.2.2.4 Type 1 Protocol Implementation
Type 1 application-level security provides additional password secrecy. These are the steps for conducting
a Type 1 transaction (unless otherwise noted, the term “Server” in this section refers to the Financial
Institution Server):
1. Client obtains the Servers profile from the Profile Server (see Chapter 7, "FI Profile")
2. Client establishes an SSL connection with the Server (see section 4.2.1)
3. Client sends <CHALLENGERQ> to Server (see section 4.2.2.4.1)
4. Server sends <CHALLENGERS> which contains a nonce and the Servers Type 1 certificate (see
section
4.2.2.4.2)
5. Client builds a transaction request and sends it to the Server (see section 4.2.2.4.3)
6. Server parses the request, verifying the user password, and either rejects or processes the transaction
(see section
4.2.2.4.4)
OFX 2.1.1 Specification 1015/1/06
The following table lists data elements used in the Type 1 protocol:
Field Type Description
BT octet, length 1 Block Type byte.
BT = 0x02
CT1 octet string, length 128 Ciphertext: the PKCS #1 RSA encryption of EB with KS.
CT1 = E
KS
(EB)
CT2 printable ASCII, length 171 Encoded Ciphertext: the RADIX-64 encoding of CT1 (see
RFC 1113, §4.3.2.4 and §4.3.2.5).
CT2 = RADIX64(CT1)
D octet string, length 68 Data: the user data to be encrypted.
D = NC || P || T
EB octet string, length 128 Encryption Block: the formatted plain text block, ready for
encryption.
EB = 0x00 || BT || PS || 0x00 || D
KS RSA key, modulus length 1,024 bits Servers Type 1 RSA key
NC octet string, length 16 Client Nonce: string of random octets generated by the
Client
NS octet string, length 16 Server Nonce: string of random octets generated by the
Server
P printable ASCII, null-padded, length 32 Password: shared by the Client and Financial Institution,
null-padded on the right
PS octet string, length 57 Padding String: each octet is pseudo-random and non-zero
T octet string, length 20 Authentication Token.
T = SHA1(NS || P || NC)
102 4.2 Security Implementation in OFX
struct {
unsigned char nc[16];
unsigned char p[32];
unsigned char t[20];
} D;
struct {
unsigned char null1 = 0x00;
unsigned char bt = 0x02;
unsigned char ps[57];
unsigned char null2 = 0x00;
struct D d;
} EB;
4.2.2.4.1 Challenge request
Client sends a <CHALLENGERQ> to the Server.
4.2.2.4.2 Challenge response
Server sends a <CHALLENGERS> to the client. This response contains the Server’s Type 1 certificate and
NS.
4.2.2.4.3 Building the OFX Request
1. Client generates 16 random octets and places them in NC (see RFC 1750 for recommendations on
entropy generation)
2. Client obtains the User’s password (P)
3. Client computes T = SHA1(NS || P || NC)
4. Client generates 57 pseudo-random, non-zero octets and places them in PS (NC
may be used to seed
the pseudo-random number generator)
5. Client sets D = NC || P || T
6. Client sets EB = 0x00 || BT || PS || 0x00 || D
7. Client RSA-encrypts EB using the Servers Type 1 public key (obtained from the Servers Type 1
certificate): CT1 = E
KS
(EB) (see PKCS #1, §§8.2-8.4)
8. Client encodes the ciphertext for transport: CT2 = RADIX64(CT1). See RFC 1113, §4.3.2.4 and
§4.3.2.5. This is a standard encoding method supported by RSAs Bsafe library and others.
9. Client constructs the body of its OFX request
10. Client copies CT2 to the <USERPASS> field of the OFX <SONRQ>
11. Client sends the complete OFX request to the Server
In <PINCHRQ>, the steps are identical, except that in step 2, P is set to <NEWUSERPASS> and in step
10, CT2 is copied to the <NEWUSERPASS> field of the <PINCHRQ>.
OFX 2.1.1 Specification 1035/1/06
The diagram below illustrates the creation of CT2.
NC
16 bytes
NS
16 bytes
NC
16 bytes
P
32 bytes
T
20 bytes
D
68 bytes
SHA-1
|
PS
57 bytes
BT
1 byte
0x00
1 byte
0x00
1 byte
|
EB
128 bytes
CT1
128 bytes
E R64
CT2
171 bytes
SHA-1
|
E
R64
SHA-1 hash
concatenation
RSA encryption with Server's
public key
RADIX-64 encoding
Legend
P
32 bytes
104 4.2 Security Implementation in OFX
4.2.2.4.4 Parsing the OFX Request
1. Server reads the OFX SECURITY header in the request file to ascertain whether Type 1 processing
should be used on this message. If Type 1 is not used, skip to step
6.
2. Server extracts CT2 from the <USERPASS> field of the OFX <SONRQ> and removes the encoding to
obtain CT1 (see RFC 1113, §4.3.2.4 and §4.3.2.5)
3. Server decrypts CT1 to obtain EB: EB = D
KS
(CT1) (see PKCS #1, §9)
4. Server extracts D from EB, then extracts NC, P, and T from D
5. Server looks up the Client’s password in its database, and computes SHA1(NS || P || NC). If the result
does not match T, Server terminates the session and reports the error to the client
6. Server processes the request and returns confirmation to the Client
In <PINCHRQ>, the steps are identical except that in step 2, CT2 is obtained from the
<NEWUSERPASS> field of the <PINCHRQ> and in step
5, the server does not look up the extracted new
password in a database.
OFX 2.1.1 Specification 1055/1/06
CHAPTER 5 INTERNATIONAL SUPPORT
5.1 Language and Encoding
Most of the content in OFX is language-neutral. However, some error messages, balance descriptions, and
similar elements contain text meant to appear to the financial institution customers. There are also cases,
such as e-mail records, where customers need to send text in other languages. To support worldwide
languages, OFX relies on standard XML mechanisms to encode text.
The encoding declaration of the standard XML declaration specifies the character set being used. Servers
should respond to clients using the same encoding as was sent in the client’s request.
Clients identify the language in the signon request. OFX specifies languages by three-letter codes as
defined in ISO-639. Servers report their supported languages in the profile (see
Chapter 7, "FI Profile"). If
a server cannot support the language requested by the client, it must return an error and not process the rest
of the transactions.
5.2 Currency <CURDEF> <CURRENCY> <ORIGCURRENCY>
In each transaction involving amounts, responses include a default currency identification, <CURDEF>.
The values are based on the ISO-4217 three-letter currency identifiers.
Within each transaction, specific parts of the response might need to report a different currency. Where
appropriate, aggregates include an optional <CURRENCY> aggregate. The scope of a <CURRENCY>
aggregate is everything within the same aggregate that the <CURRENCY> aggregate appears in, including
nested aggregates, unless overridden by a nested <CURRENCY> aggregate. For example, specifying a
<CURRENCY> aggregate in an investment statement detail means that the unit price, transaction total,
commission, and all other amounts are in terms of the given currency, not the default currency.
Note that there is no way for two or more individual elements that represent amounts—and are directly
part of the same aggregate—to have different currencies. For example, there is no way in a statement
download to have a different currency for the <LEDGERBAL> and the <AVAILBAL>, because they are
both directly members of <STMTRS>. In most cases, you can use the optional <BAL> aggregates to
overcome this limitation, since <BAL> aggregates accept individual <CURRENCY> aggregates.
The default currency for a request is the currency of the source account. For example, the currency for
<BANKACCTFROM>.
The <CURRATE> should be the one in effect throughout the scope of the <CURRENCY> aggregate. It is
not necessarily the current rate. Note that the <CURRATE> needs to take into account the choice of the FI
for formatting of amounts (that is, where the decimal is) in both default and overriding currency, so that a
106 5.2 Currency <CURDEF> <CURRENCY> <ORIGCURRENCY>
client can do math. This can mean that the rate is adjusted by orders of magnitude (up or down) from what
is commonly reported in newspapers.
Tag Description
<CURRENCY> or
<ORIGCURRENCY>
Currency aggregate
<CURRATE>
Ratio of <CURDEF> currency to <CURSYM> currency, in decimal notation, rate
<CURSYM>
ISO-4217 3-letter currency identifier, currsymbol
</CURRENCY> or
</ORIGCURRENCY>
In some cases, OFX defines transaction responses so that amounts have been converted to the home
currency. However, OFX allows FIs to optionally report the original amount and the original (foreign)
currency. In these cases, transactions include a specific aggregate for the original amount, and then an
<ORIGCURRENCY> aggregate to report the details of the foreign currency.
Again, <CURRENCY> means that OFX has not converted amounts. Whereas, <ORIGCURRENCY>
means that OFX has already converted amounts.
OFX 2.1.1 Specification 1075/1/06
5.3 Country-Specific Element Values
Some of the elements in OFX have values that are country-specific. For example, <USPRODUCTTYPE>
is useful only within the United States. OFX will extend in each country as needed to provide elements that
accept values useful to that country. Clients in other countries that do not know about these elements must
simply skip them.
In some cases, an element value represents a fundamental way of identifying something, yet there does not
exist a world-wide standard for such identification. Examples include bank accounts and securities. In
these cases, OFX must define a single, extensible approach for identification. For example, CUSIPs are
used within the U.S., but not in other countries. However, CUSIPs are fundamental to relating investment
securities, holdings, and transactions. Thus, a security ID consists of a two-part aggregate: one to identify
the naming scheme, and one to provide a value. OFX will define valid naming schemes as necessary for
each country.
108 5.3 Country-Specific Element Values
OFX 2.1.1 Specification 1095/1/06
CHAPTER 6 DATA SYNCHRONIZATION
6.1 Overview
Currently, some systems provide only limited support for error recovery and no support for backup files or
multiple clients. This chapter defines OFX’s powerful means of data synchronization between clients and
servers.
OFX data synchronization addresses the following problems:
Error recovery
Use of multiple data files, including multiple client applications
Restoring from an outdated backup file
This chapter first provides a brief introduction to synchronization problems and then presents the strategy
used in OFX to ensure data integrity. Additional details about synchronization requests and responses may
be found in the relevant sections of this document. The final section in this chapter discusses alternatives to
full synchronization and summarizes the options for each.
6.2 Background
When a connection between the client and the server does not successfully complete, there are two main
areas of concern:
Unconfirmed requests
If a client does not receive a response to work it initiates, it has no way of knowing whether the server
processed the request. It also does not have any server-supplied information about the request, such as a
server ID number.
Unsolicited data
Some message sets allow a server to send data to the client without first receiving a request. OFX
assumes that the first client to connect after the unsolicited data is available receives it. If the
connection fails, this information could be forever lost to the client. Examples of unsolicited data
include updates to the status of a bill payment and e-mail messages.
Unsolicited data presents problems beyond error recovery. Because the first client that connects to a server
is the only one to receive unsolicited data, this situation precludes use of multiple clients without a data
synchronization method. For example, if a user has a computer at work and one at home, and wants to
perform online banking from both computers, a bank server could send unsolicited data to one but not the
other.
An even greater problem occurs when a user resorts to an outdated backup copy of the client data file. This
backup file may be missing recent unsolicited data with no way to retrieve it from the server again.
110 6.3 Data Synchronization Approach
6.3 Data Synchronization Approach
A simple solution is to make sure that clients can always obtain information from the server for a
reasonable length of time after it is initially sent. Clients can request recent responses—whether due to
client-initiated work or other status changes on the server—by supplying the previous endpoint in the
response history. Servers should always supply a new endpoint whenever they supply responses. These
endpoints are described by the <TOKEN> element.
To ensure a consistent state after a failure (for example, dropped client connections or a client crash before
updating its database), the client must store all data returned in a sync response before updating the saved
token for that account and object type. After a failure, the next sync attempt using the old token might
download information already reflected in the client database. But, re-integration of that data is much
preferred over losing all changes between the old and new token values.
If a user switches to an outdated backup file, then the most recent endpoint known to the client will be
older than the most recent endpoint known to the server.
If multiple clients are in use, each will send requests based on its own current endpoint, so that both clients
will obtain complete information from the server. This is one reason why OFX responses carry enough
information from the request to enable them to be processed independent from the requests. The diagram
below shows the interaction between clients and servers.
DATA SERVER
(
Financial Institution
)
Transaction 9
Transaction 8
Transaction 7
Transaction 6
Transaction 5
Transaction 4
Transaction 3
Transaction 2
Transaction 1
CLIENT #1
(
Customer
)
Transaction 7
Transaction 6
Transaction 5
Transaction 4
Transaction 3
Transaction 2
Transaction 1
CLIENT #2
(
Customer
)
Transaction 4
Transaction 3
Transaction 2
Transaction 1
Client sends
token #7
Server res
p
onds
with transactions 8-9
Client sends
token #4
Server res
p
onds
with transactions 5-9
OFX 2.1.1 Specification 1115/1/06
OFX relieves the server from maintaining any special error-recovery state information. However, OFX
requires the server to maintain a history of individual responses and a <TOKEN> to identify a position in
the history. This token is commonly a time stamp, but it need not be. Because of the freedom a server has
in choosing values for its <TOKEN>s, a client must not assume any sequential relationship between
<TOKEN>s based on the <TOKEN> values.
Note: OFX does not require servers to store responses based on individual connections. Also,
not all requests are subject to synchronization. For example, OFX does not require servers to
store statement-download responses separately for data synchronization.
6.4 Data Synchronization Specifics
OFX performs synchronization separately for each type of response. In addition, a synchronization request
might include further identifying information, such as a specific account number. This specification
defines the additional information for each synchronization request.
Each OFX service identifies the objects that are subject to data synchronization. For example, a bank-
statement download is a read-only operation from the server. A client can request it again; consequently,
there is no data synchronization for this type of response.
6.4.1 Tokens
The basis for synchronization is a token as defined by the <TOKEN> element. The server can create a
token in any way it wishes. The client simply holds the token for possible use in a future synchronization
request.
The server can derive a token from one of the following:
Time stamp
Sequential number
Unique nonsequential number
Other convenient values for a server
OFX reserves the following tokens:
<TOKEN>0 (zero) from the client requests all available history for the referenced account (if specified)
and object type. Servers should send all relevant transactions that are accessible, allowing a new client
to know about work done by other clients. If a users account has never been used with OFX, the server
returns no history.
Servers should return <TOKEN>–1 (negative one) in the event they must respond with an error. For
more information, see section
6.4.4.
In all other cases, the server can use different types of tokens for different types of responses, if suitable for
the server.
112 6.4 Data Synchronization Specifics
Clients must send either a <REFRESH>Y request (if supported by the server) or <TOKEN>0 in their
initial synchronization request for each account (if necessary) and object type. As described in section
6.6,
a servers response to either request should bring the client up-to-date. The <REFRESH>Y response would
not detail how or when an object reached its current state. But, the <TOKEN>0 response might not list
every relevant object (for example, some early history that the server has already purged, which might
include a payment that was scheduled far in the past, but not yet due.) Should the client require full history
information initially, OFX recommends a <REFRESH>Y request together with a <TOKEN>0 request.
Tokens can contain up to 10 characters in V1 message sets; see Chapter 3, "Common Aggregates,
Elements, and Data Types." Tokens must be unique only with respect to the type of synchronization
request and the additional information in that request. For example, a bill payment synchronization request
takes an account number; therefore, a token needs to be unique only within payments for the account. In
sync requests which do not include an account number, token values are scoped to the current user. For
example, a token in a payee synchronization request needs to be unique only within payees for the signed
on user.
The server can use different types of tokens for different types of responses, if suitable for the server.
Servers will not have infinite history available, so synchronization responses can optionally include a
<LOSTSYNC>Y (yes) if the old token in the synchronization request was older than the earliest available
history. This element allows clients to alert users that some responses have been lost.
Note: Tokens are unrelated to <TRNUID>s, <SRVRTID>s, and <FITID>s, each of which
serves a specific purpose and has its own scope and lifetime.
A <SRVRTID> is not appropriate as a <TOKEN> for bill payment. A single payment has a single
<SRVRTID>, but it can undergo several state changes over its life and thus have several entries in the
token history.
6.4.2 The Synchronization Process
There are three different ways a client and a server can conduct their requests and responses:
Explicit synchronization—A client can request synchronization without sending any other OFX
requests. The client sends a synchronization request, including the current token for that type of
request. The response includes responses more recent than the given token, along with the current
token.
Synchronization with new requests—A client can request synchronization as part of any new request.
The client gives the latest token it has. The response includes responses to the new requests plus any
others that became available since the time of the token in the request, along with the current token. An
aggregate contains the requests so that the server can process the new requests and update the token as
a single action.
New requests without synchronization—A client can make new requests without providing a token. In
this case, it expects only responses to the new requests. A subsequent request for synchronization will
cause the server to send this response again, because the client did not receive the current token.
OFX 2.1.1 Specification 1135/1/06
SYNC responses should return a new <TOKEN> only if new activity was generated for a set of
transactions (e.g. payee, payment, intrabank transfers, payment email, etc.). Alternatively, if a server
always returns a new <TOKEN> even if no new activity was generated, the server should remember that
the old and new <TOKEN> values are both up-to-date with respect to <REJECTIFMISSING>Y
Each request and response that requires data synchronization will define a synchronization aggregate. The
aggregate tells the server which kind of data it should synchronize. By convention, these aggregates
always have SYNC as part of their names, for example, <PMTSYNCRQ>. These aggregates can be used
on their own to perform explicit synchronization, or as wrappers around one or more new transactions. For
example, <PMTSYNCRQ> aggregates request synchronization and may include new work.
Some clients can choose to perform an explicit synchronization before sending any new requests. This
practice allows clients to be up-to-date before sending any new requests. Other clients can simply send
new requests as part of the synchronization request.
If a client synchronizes in one file, then sends new work inside a synchronization request in a second file,
there is a small chance that additional responses became available between the two connections. There is
an even smaller chance that these would be conflicting requests, such as modifications to the same object.
However, some clients and some requests might require absolute control, so that the user can be certain
that they are changing known data. To support this, synchronization requests can optionally specify
<REJECTIFMISSING> element. The element tells a server that it should reject all enclosed requests if the
supplied <TOKEN> is out of date before considering the new requests. That is, if any new responses
became available, whether related to the incoming requests or not (but in scope of the synchronization
request), the server should immediately reject the requests. It should still return the new responses. A client
can then try again until it finds a stable window to submit the work. See section
6.5 for more information
about conflict detection and resolution.
Note: If <REJECTIFMISSING>Y causes enclosed requests to be rejected, this rejection can
be done in one of two ways:
Embedded requests are completely ignored – they are not included in the response.
Embedded requests are returned with a 2000 (or 6502 for recent servers) error. This is the preferred
approach.
The password change request and response present a special problem. See section 2.5.2 for further
information.
114 6.4 Data Synchronization Specifics
6.4.3 Synchronizable Objects
OFX allows synchronization of email (in all message sets), service activations, changes to user
information, stop checks, banking notifications, transfers (both types), recurring transfers (both types),
wire transfers, payees, payments, and recurring payments. OFX includes the following synchronization
request/response pairs.
Section Request Response
8.6.4 <ACCTSYNCRQ> <ACCTSYNCRS>
8.7 <CHGUSERINFOSYNCRQ> <CHGUSERINFOSYNCRS>
9.2.4 <MAILSYNCRQ> <MAILSYNCRS>
11.12.1 <STPCHKSYNCRQ> <STPCHKSYNCRS>
11.12.2 <INTRASYNCRQ> <INTRASYNCRS>
11.12.3 <INTERSYNCRQ> <INTERSYNCRS>
11.12.4 <WIRESYNCRQ> <WIRESYNCRS>
11.12.5 <RECINTRASYNCRQ> <RECINTRASYNCRS>
11.12.6 <RECINTERSYNCRQ> <RECINTERSYNCRS>
11.12.7 <BANKMAILSYNCRQ> <BANKMAILSYNCRS>
11.12.8 <LOANMAILSYNCRQ> <LOANMAILSYNCRS>
12.8.2
<PMTMAILSYNCRQ> <PMTMAILSYNCRS>
12.9.4 <PAYEESYNCRQ> <PAYEESYNCRS>
12.10.1
<PMTSYNCRQ> <PMTSYNCRS>
12.10.2
<RECPMTSYNCRQ> <RECPMTSYNCRS>
13.11.2 <INVMAILSYNCRQ> <INVMAILSYNCRS>
14.6
<PRESMAILSYNCRQ>
<PRESMAILSYNCRS>
6.4.4 Token and Full Synchronization Summary
In review, tokens are used to identify a point in an activity continuum. Each client maintains a current
token that identifies a place on that continuum. When sent to the server, the server can determine whether
or not the client is up-to-date and send history if not. For instance, if ten activities have occurred for a
particular type of synchronized activity and a client knows about the first eight activities, the token sent in
the request will show this and the server will respond with the missing two, along with the newest token,
thus bringing the client up to date. Several clients may be kept up-to-date with each other in this way,
presuming all are accessing the same userid/accountid (depending on the activity) within the same FI.
OFX 2.1.1 Specification 1155/1/06
The term "activity" denotes a discrete unit before which and after which a token is generated. It is not
necessary for a server to generate a new token for each OFX response it sends. Rather, a server can
generate a token to identify several responses as long as there is no chance that these two or more
responses were generated by two different clients. For instance, if an OFX block is sent containing three
bank transfer requests, one token can be generated to represent all three activities. If all requests fail, a
server does not need to update the token unless failed requests are reported in sync history. However, if
even one activity succeeds, a new token must be generated for the next sync. (If the server updates a token
when there is no activity representing that token, for example when all requests fail or the request is for
sync only, the server must remember that now the current and newer tokens are both "up to date" with
respect to REJECTIFMISSING.)
Note that tokens are not ordered, that is, a client should not assume that they are either incremented or
decremented in succeeding updates. The server determines how the tokens are updated/changed based on
its own algorithm.
If a request(s) is sent which is subject to synchronization but the request(s) is not "wrapped" in a
synchronization request, the server must still generate a new token internally to represent the activity that
occurred. This token is returned in the next synchronization response.
Some OFX transactions are not associated with tokens and no synchronization history is kept for them. An
example is bank statement download (STMTRQ/STMTRS). A statement download is a read-only
operation from the server. A client can request it again; consequently, there is no data synchronization for
this type of response.
In other cases, one OFX transaction is associated exclusively with a particular synchronization response.
That is, synchronization is associated with only one OFX request/response pair. An example of this is
PMTMAILR[Q/S]. PMTMAILRS is the only type of OFX response that will appear in the payment mail
synchronization response (PMTMAILSYNCRS).
Finally, there are several OFX transactions that will cause activity to be saved for later synchronization
under the umbrella of one synchronization response. An example of this is payment synchronization,
where payment responses (PMTRS), payment modification responses (PMTMODRS) and payment delete
responses (PMTCANCRS) can all appear in a payment synchronization response (PMTSYNCRS).
Tokens are generated, maintained and recognized only within the scope of the synchronization request/
response pair. For instance a <TOKEN>50511 sent in a payee synchronization request is unrelated to a
<TOKEN>50522 sent in a payment synchronization request because the tokens are associated with
different synchronization transactions (PAYEESYNC versus PMTSYNC). While clients must keep track
of the most up-to-date token within each synchronization type, servers must also keep a history of tokens
and associated activity within each type.
Note that server-initiated activity will also appear in a synchronization response, in addition to user/client-
initiated activity. In a token-based sync, this activity is identified by a response containing a <TRNUID>0.
(In a refresh, all TRNUID values are 0.) A payment spawned by a model and appearing in the payment
synchronization response is an example of such activity. In this case, the server will update the payment
synchronization token (associated with PMTSYNCR[Q/S] but not the recurring payment synchronization
116 6.5 Conflict Detection and Resolution
token (associated with RECPMTSYNCR[Q/S]). The next time a client syncs on payments, its token will
be out-of-date and the server will return the newer token along with the spawned payment.
This summary pertains to full synchronization implementations only.
6.5 Conflict Detection and Resolution
Conflicts arise whenever two or more clients or servers modify the same data. This can happen to any
object that has a <SRVRTID> that supports change or delete requests. For example, two spouses might
independently modify the same recurring bill payment model. From a server perspective, there is usually
no way to distinguish between the same user making two intended changes and two separate users making
perhaps unintended changes. Therefore, OFX provides enough tools to allow clients to detect and resolve
conflicts.
A careful client always synchronizes before sending any new requests. If any responses come back that
could affect a user’s pending requests, the client can ask the user whether it should still send those pending
requests. Because there is a small chance for additional server actions to occur between the initial
synchronization request and sending the users pending requests, extremely careful clients can use the
<REJECTIFMISSING> element. Clients can iterate sending pending requests inside a synchronization
request with <REJECTIFMISSING> and testing the responses to see if they conflict with pending
requests. A client can continue to do this until a window of time exists wherein the client is the only agent
trying to modify the server. In reality, this will almost always succeed on the first try.
6.6 Synchronization Options
There are some situations and some types of clients for which it is preferable that the client ask the server
to send—by way of a refresh—everything it knows, rather than just a set of changes by way of a synch
response. For example, a client that has not connected often enough may have lost synchronization, a user
may create a new data file, or the user might be using a completely stateless client, such as a Web browser.
Note: OFX does not require a client to refresh just because it has lost synchronization.
Clients will mainly want to refresh lists of long-lived objects on the server; generally objects with a
<SRVRTID>. A brand new client, or a client that lost synchronization, might want to learn about in-
progress payments by doing a synchronization refresh of the payment requests. It would almost certainly
want to do a synchronization refresh of the recurring payment models, because those often live for months
or years.
A client may request a refresh by using <REFRESH>Y instead of the <TOKEN> element. Servers must
send responses that emulate a client creating or adding each of the objects governed by the particular
synchronization request.
When responding to a <REFRESH>Y sync request, servers must send <TRNUID>0 in each contained
transaction wrapper, the standard value for server-generated responses (except responses for embedded
transactions).
OFX 2.1.1 Specification 1175/1/06
There is no need to recreate a stream of responses that emulate the entire history of the object. An add
response that reflects the current state is sufficient. For example, if you create a model and then modify it
several times, even if this history would have been available for a regular synchronization, servers should
only send a single add that reflects the current state.
Due to the large volume of data which might be included in the response, clients should not perform
<MAILSYNCRQ> (or, one of the service-specific equivalents such as <BANKMAILSYNCRQ>) with
<REFRESH>Y.
A client that wants only the current token, without refresh or synchronization, makes requests with
<TOKENONLY>Y.
In all cases, servers should send the current ending <TOKEN> for the synchronization request in refresh
responses. This allows a client to perform regular synchronization requests in the future.
The following table summarizes the options in a client synchronization request:
Tag Description
Client synchronization
option;
<TOKEN>,
<TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization request
from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
Note: Compliant clients should not send synchronization requests matching those listed
below. Nonetheless, servers should handle such requests and respond as described.
<TOKENONLY>N has no useful meaning and clients should not send such a request. Servers may
interpret <TOKENONLY>N in the sync request the same as <TOKENONLY>Y.
<REFRESH>N has no useful meaning and clients should not send such a request. Servers may
interpret <REFRESH>N in the sync request the same as <REFRESH>Y.
If a client embeds transaction requests in a <REFRESH> or <TOKENONLY> sync request, the
server should respond in such a way that the <REFRESH> data or returned <TOKEN> reflects a
specific state, after the transactions have processed. Since servers are not required to reduce the data
about any particular object to a single addition response, embedded transactions may be processed
before or after the <REFRESH> data is retrieved. As with all synchronization responses, the
returned <TOKEN> must reflect the actions of all embedded transactions.
118 6.7 Typical Server Architecture for Synchronization
<REJECTIFMISSING>Y is illegal unless accompanied by <TOKEN>. If received in the same
wrapper as <TOKENONLY> or <REFRESH>, the server should fail that synchronization request
(as described in section
6.6.1).
6.6.1 Synchronization Errors
When a client sends an unrecognized or “bad” token, the server response should be one of the following.
(Note that <LOSTSYNC> is an optional element):
Return <TOKEN>-1, <LOSTSYNC>Y, with no history
Return <TOKEN>X (the current token), <LOSTSYNC>Y, with no history
Return <TOKEN>X (the current token), <LOSTSYNC>Y, with full history (i.e. treat as if it were a
<TOKEN>0)
If the synchronization request included a bad account number or BANKID, or signon failed, or an account
was closed, etc. the response should include <TOKEN>–1, optionally <LOSTSYNC>N, and no history.
6.7 Typical Server Architecture for Synchronization
This section describes how an FI can approach supporting synchronization based on the assumption that
modifications to an existing financial server will be kept to a minimum.
The simplest approach is to create a history database separate from the existing server. This history could
consist of the actual OFX transaction responses (<xxxTRNRS> aggregates) that are available to a
synchronization request, or simply the information required to re-create the responses upon request from
the client. The history database could index records by token, response type, and any other identifying
information for that type, such as account number. Clearly, this database must include all <TRNUID>s for
all transactions it contains. OFX recommends that <TRNUID>s be stored for as long as possible so that
they may be used to detect duplicate client requests even after the original requests have been purged from
the synch database.
The diagram below shows a high-level model of the OFX architecture for a financial institution. Notice
that the diagram shows the presence of a history journal.
-----------------------
-----------------------
-----------
Account
Records
INTERNET
OFX
Server
T elle r
Services
Bank Server
History Journal
C lien t
FINANCIAL INSTITUTION
ENVIRONMENT
Transaction
Manager
Synchronization
Request/Response
OFX 2.1.1 Specification 1195/1/06
The server adds responses to the history journal for any action that takes place on the existing server. This
is true whether the OFX requests initiate the action or, in the case of recurring payments, it happens
automatically on the server. Once added to the history journal, the server can forget them.
The areas of the OFX server that process synchronization requests need only search this history database
for matching responses that are more recent than the incoming token.
For a refresh request, an OFX server would access the actual bank server to obtain the current state rather
than recent history.
Periodically the bank server would purge the history server of older entries.
120 6.8 Typical Client Processing of Synchronization Results
Only requests that are subject to synchronization need to have entries in the history database. Statement
downloads do not involve synchronization; therefore, the FI server should not add these responses to the
history database. Since statement downloads are usually the largest in space and the most frequent,
eliminating these saves much of the space a response history might otherwise require.
More sophisticated implementations can save even more space. The history database could save responses
in a coded binary form that is more compact than the full OFX response format. Some FIs might have
much or all of the necessary data already in their servers; consequently, they would not require new data.
An FI could regenerate synchronization responses rather than recall them from a database.
6.8 Typical Client Processing of Synchronization Results
The diagram below shows a general flowchart of what an OFX client would do with the results of a
synchronization request. Most requests and responses subject to data synchronization contain both
<TRNUID> and <SRVRTID>.
The res
onse is a modification or chan
e in status.
Does the <SRVRTID> in
this response match one
already recorded by the
client?
Client applies all updated
information to its copy of
the matching transaction.
The client should record the
associated <SRVRTID>, if
response status=SUCCESS
This is a response to a
request initiated by this
client.
The res
p
onse is a new transaction created b
y
another client
.
Was the <TRNUID>
returned in the response
created by this client?
Yes
Yes
N
o
N
o
Client adds the transaction
to its local list of
transactions.
The res
p
onse is to an add re
q
uest from this client.
OFX 2.1.1 Specification 1215/1/06
6.9 Simultaneous Connections
It is increasingly common for a server to get simultaneous or overlapping requests from the same user from
two different front ends. OFX requires a server to process each set of requests sent in a file as an atomic
action. Servers can deal with the problems that arise with simultaneous use in two ways:
Allow simultaneous connections, ensure each is processed atomically, and use the data synchronization
mechanism to bring the two clients up to date. This is the preferred method.
Lock out all but one user at a time, returning the error code 15501 for multiple users.
6.10 Synchronization Alternatives
Although it is RECOMMENDED that OFX servers implement full synchronization as described in this
chapter, an alternate approach, “lite synchronization,” could be easier for some servers to support. This
approach focuses only on error recovery and does not provide any support for multiple clients, multiple
data files, or use of backup files. The approach is to preserve the message sets while simplifying the
implementation.
In addition, some clients might prefer to use file-based error recovery with all servers, even if the client
and some servers support full synchronization. This section first describes file-based error recovery and
lite synchronization, and then explains the rules that clients and servers use to decide how to communicate.
Lite synchronizing servers may support both file-based error recovery and <REFRESH>Y. This type of
server is called a Refresh-capable Lite Synchronizing Server.
For information on how these types of synchronization are profiled, see section 7.2.1.
122 6.10 Synchronization Alternatives
6.10.1 File-Based Error Recovery
Because only full synchronization supports error recovery, an alternative is needed for lite
synchronization. Servers using lite synchronization keep a copy of the entire response file they last sent.
This is the basis for what is often called “file-based error recovery.” Clients requesting that servers prepare
for error recovery generate a globally unique ID for each file they send. Two OFX headers are associated
with error recovery:
OLDFILEUID—UID of the last request and response that was successfully received and processed by
the client
NEWFILEUID—UID of the current file
The format of these is the same as used with <TRNUID> as documented in section 2.4.6.
Servers use the following rules:
If NEWFILEUID is set to NONE, the client is not requesting file-based error recovery for this session.
The server does not need to save the response file. If NEWFILEUID is set to NONE and
OLDFILEUID matches a previous request file (see below), the client may be ending use of file-based
error recovery.
If NEWFILEUID matches a previous request file, the client is requesting error recovery. The server
should send the matching saved response file.
Note: If NEWFILEUID matches a previous request file then the request file identified by the
NEWFILEUID must contain exactly the same set of transactions as the previous request file.
Servers can reject the file if it contains new or modified transactions. In particular, clients
should disallow new <PINCHRQ> transactions during error recovery. For more information
about <PINCHRQ> and synchronization, see section
2.5.2.
If NEWFILEUID is not set to NONE and does not match a previous request file, the client is preparing
for error recovery. The server should save the response file in case the data does not reach the client.
If OLDFILEUID is set to NONE, the server may ignore the presence of this header. The server should
not search for a response file to delete. Clients should initiate file-based error recovery by sending
OLDFILEUID set to NONE and NEWFILEUID set to a unique value.
If OLDFILEUID matches a file saved on the server, then OLDFILEUID is a file that the client has
successfully processed and the server can delete it.
If OLDFILEUID is not set to NONE and does not match a previous request file, the server should
ignore the presence of this header. Either the server has purged the associated request file without
explicit request from the client or the client is requesting error recovery with identical headers to the
initial request attempt (NEWFILEUID should match a previous request file in this case).
Note: While it may indicate a client error for OLDFILEUID and NEWFILEUID to hold
identical values other than NONE, the server should ignore this OLDFILEUID header. Earlier
rules in this list detail how the server should handle the request file (based solely upon the
NEWFILEUID value).
OFX 2.1.1 Specification 1235/1/06
A server should not save more than one file per client data file thread (history of FILEUID values). Servers
should purge response files in response to an explicit client request (reference in the OLDFILEUID
header) or after some long period (at least 2 months). Clients must not abuse this storage requirement by
(for example) setting OLDFILEUID to the header used three request files previously. The server should
preserve response files on a per-thread basis. This approach would support multiple clients or data files per
user. But, the server has the option to ignore these needs and purge response files as soon as another valid
request arrives for the same <USERID>. In either case, if an error recovery attempt comes after the
corresponding error recovery file is purged, the server will not recognize the request as an attempt at error
recovery. The server would simply process it as a new request. In this case, the server should recognize
duplicate transaction UIDs for client-initiated work, such as payments, and then reject them individually.
Server-generated responses would be lost to the client.
A server should not save a response file when it is useless to do so. Specifically, the server should not save
a response file when the request fails parsing or when the request was rejected due to a <SONRQ>
problem (e.g. invalid <USERID>).
If all accounts are shared between two (or more) users (for example, husband and wife have separate
online access to the same list of joint accounts and none others), some identifiers may differ and should be
maintained separately by the client. Thus, clients should initiate error recovery and maintain/generate
xxxFILEUID values on a per-user basis.
6.10.1.1 File-Based Error Recovery and Authentication
There are two aspects of error recovery authentication which must be considered, request validation and
password validation.
6.10.1.1.1 Request Validation
When error recovery is being attempted the server should first perform signon authentication on the
request file. Once this is done, it should validate that the rest of the transactions in the request file received
match those of the request file that was archived for the corresponding response file which was also
archived. Recommended matching is defined at two levels:
Minimal—Verify that the transactions correspond to the archived file
Recommended—Verify the current request and archived request files exactly match. It is recommended
that checksums for all characters after the </SONRQ> be used to verify an exact match. (The signon
request itself may change between attempts.)
6.10.1.1.2 Password Validation
In all cases, the server must not store response files for the purposes of file-based error recovery when the
<SONRQ> has failed. A saved response file matching the OLDFILEUID header (if any) must not be
deleted when this occurs.In error recovery situations, the possibility exists that the user will have entered
the correct password when a request was originally sent, but will mistype the password when prompted for
it again during the recovery attempt. The server should respond as it would whenever sign on fails: It
should return 15500 errors in all transaction response aggregates. The server should return synchronization
124 6.10 Synchronization Alternatives
wrappers with <TOKEN>-1 and any embedded transaction response aggregates with the same 15500 error.
(The response file should contain no <xxxRS> aggregates apart from the <SONRS>.) This particular
situation (sign on failure during an error recovery attempt) merits careful attention to the rules described in
the previous paragraph.
6.10.2 Lite Synchronization
Lite synchronization requires servers to accept all synchronization messages, but does not require them to
keep any history or tokens. Responses need to be sent only once and then the server can forget them.
Responses to client requests, whether or not they are made inside a synchronization request, are processed
normally. Responses that represent server-initiated work, such as payment responses that arise from
recurring payments, are sent only in response to synchronization requests. A server does not have to hold
responses in case a second client makes a synchronization request.
Basic lite synchronization servers do not support <REFRESH>Y. Refresh-capable lite synchronizing
servers, however, do support <REFRESH>Y. That, in fact, is the only difference in function between a
Basic Lite Synch server and a Refresh-capable Lite Synch Server. The purpose of the distinction is to
allow a server to provide refresh capability without the burden of supporting full synchronization. (See
Section 6.10.2.1 for a discussion of refresh lite synch and older servers.)
Note: OFX requires a server to authenticate a client in Error Recovery.
6.10.2.1 Lite Synchronization and Older Clients/Servers
Basic lite synchronization servers (including all servers that support versions of OFX prior to 1.6) do not
support <REFRESH>Y. Such servers may interpret <TOKEN>0 requests, however, as if they were refresh
requests, and respond with the exact refresh information a refresh capable lite synch server would respond
with. Newer servers should always support <REFRESH>Y if that functionality is provided, by specifying
<REFRESHSUPT>Y in the profile response. This does not preclude, however, providing backward-
compatible refresh support for older clients sending <TOKEN>0.
For more information on profiling synchronization support, see section 7.2.1.
6.10.3 Relating Synchronization and Error Recovery
Client and server developers should first decide whether or not they will support full synchronization. If
they can, then they can support file-based error recovery as well, or they can rely on synchronization to
perform error recovery. If they adopt only lite synchronization, OFX requires file-based error recovery. A
server describes each of these choices in its server profile records. The following combinations are valid:
Full synchronization with file-based error recovery
Full synchronization without separate file-based error recovery
Lite synchronization with file-based error recovery (with or without <REFRESH>Y support)
OFX 2.1.1 Specification 1255/1/06
Clients request file-based error recovery by including the old and new session UIDs in the header. If these
are absent, servers need not save the response file for error recovery. Clients request synchronization by
using those synchronization requests defined throughout this specification.
126 6.11 Examples
6.11 Examples
Here is an example of full synchronization using bill payment as the service. OFX Payments provides two
different synchronization requests and responses, each with their own token; one for payment requests and
one for repeating payment model requests. Note that these simplified examples do not include the outer
<OFX> layer, <SONRQ>, and so forth.
Client A requests synchronization:
<PMTSYNCRQ>
<TOKEN>123</TOKEN>
<REJECTIFMISSING>N</REJECTIFMISSING>
<BANKACCTFROM>
<BANKID>121000248</BANKID>
<ACCTID>123456789</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
</PMTSYNCRQ>
The server sends in response:
<PMTSYNCRS>
<TOKEN>125</TOKEN>
<LOSTSYNC>N</LOSTSYNC>
<BANKACCTFROM>
<BANKID>121000248</BANKID>
<ACCTID>123456789</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<PMTTRNRS>
<TRNUID>123</TRNUID>
<STATUS>
... status details
</STATUS>
<PMTRS>
... details on a payment response
</PMTRS>
</PMTTRNRS>
<PMTTRNRS>
<TRNUID>546</TRNUID>
<STATUS>
... status details
</STATUS>
OFX 2.1.1 Specification 1275/1/06
<PMTRS>
... details on another payment response
</PMTRS>
</PMTTRNRS>
</PMTSYNCRS>
Client A was missing two payment responses, which the server provides. At this point, client A is
synchronized with the server. Client A now makes a new payment request, and includes a synchronization
update as part of the request. This update avoids having to re-synchronize the expected response at a later
time.
<PMTSYNCRQ>
<TOKEN>125</TOKEN>
<REJECTIFMISSING>N</REJECTIFMISSING>
<BANKACCTFROM>
<BANKID>121000248</BANKID>
<ACCTID>123456789</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<PMTTRNRQ>
<TRNUID>12345</TRNUID>
<PMTRQ>
... details of a new payment request
</PMTRQ>
</PMTTRNRQ>
</PMTSYNCRQ>
The response to this new request:
<PMTSYNCRS>
<TOKEN>126</TOKEN>
<LOSTSYNC>N</LOSTSYNC>
<BANKACCTFROM>
<BANKID>121000248</BANKID>
<ACCTID>123456789</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<PMTTRNRS>
... details on a payment response to the new request
</PMTTRNRS>
</PMTSYNCRS>
The client now knows that the server has processed the payment request it just made, and that nothing else
has happened on the server since it last synchronized with the server.
128 6.11 Examples
Assume client B was synchronized with respect to payments for this account up through token 125. If it
called in now and synchronized—with or without making additional requests—it would pick up the
payment response associated with token 126. It records the same information that was in client A, which
would give both clients a complete picture of payment status.
OFX 2.1.1 Specification 1295/1/06
CHAPTER 7 FI PROFILE
7.1 Overview
OFX clients use the profile to learn the capabilities of an OFX server. This information includes general
properties such as account types supported, user password requirements, specific messages supported, and
how the client should batch requests and where to send the requests. A client obtains a portion of the
profile when a user first selects an FI. The client obtains the remaining information prior to sending any
actual requests to that FI. The server uses a time stamp to indicate whether the server has updated the
profile, and the client checks periodically to see if it should obtain a new profile.
In more detail, a profile response contains the following sections, which a client can request
independently:
Message Sets – list of services and any general attributes of those services. Message sets are collections
of messages that are related functionally. They are generally subsets of what users see as a service.
Signon realms – FIs can require different signons (user ID and/or password) for different message sets.
Because there can only be one signon per <OFX> block, a client needs to know which signon the server
requires and then provide the right signon for the right batch of messages.
The profile message is itself a message set. In files, OFX uses the <PROFMSGSETV1> aggregate to
identify this profile message set.
The following sections describe the general use of profile information.
7.1.1 Message Sets
A message set may be thought of as representing an available financial service. A message set itself is a
collection of related messages. For example,
Chapter 11, "Banking," defines several message sets:
statement download, credit card statement download, intrabank transfers, and so forth. A server may route
all of the messages in a message set to a single URL and merge their versions together.
Clients and servers generally use message sets as the granularity to decide what functionality they will
support. A “banking” server can choose to support the statement download and intrabank transfer message
sets, but not the wire transfer message set. Attributes are available in many cases to further define how
OFX supports a message set.
The profile applies only to the requests a client might expect the server to honor. That is, clients should not
send requests to servers unless support is indicated. However, the server may send unsupported responses
in a sync response as information is entered out of band. A client is required to at least parse such a file.
Clients should assume the burden of checking the profile and not sending a transaction which the server
does not support. If the client goes ahead and sends such a transaction, the server may either return an
HTTP 400 syntax error, or ignore unsupported elements and aggregates. In the latter case, assuming no
130 7.1 Overview
other problems occur in processing that request, servers may return warning code 2028 (Request element
unknown). The response file should not contain the unsupported elements or aggregates.
Each portion of the OFX specification that defines messages also defines the message set to which those
messages belong. This includes what additional attributes are available for those messages and whether
OFX requires the message set or it is optional.
7.1.1.1 Profile Support for Downloading Images
Clients may request images in statement download and/or closing requests in various message sets. Prior
to requesting these images, clients must verify that support exists on the server for image download. This
is indicated by the presence of the <IMAGEMSGSET> aggregate in the profile response, as well as the
<IMAGEPROF> aggregate in the profile response for the specific message set in question. For instance, if
a client wishes to request transaction images in the banking statement download request, the client must
verify the presence of <IMAGEMSGSET> in the profile as well as transaction image support in the
<IMAGEPROF> aggregate in the <BANKMSGSET> in the profile. Image download requests are allowed
in OFX 2.1.1 in the Banking, Credit Card, Loan and Investments message sets.
7.1.2 Version Control
Message sets are the basis of version control. Over time there will be new versions of the message sets, and
at any given time servers will likely want to support more than one version of a message set. Clients should
also be capable of supporting as many versions as possible. Through the profile, clients discover which
versions are supported for each message set. Clients and servers exchange messages at the highest
common level for each message set.
If banking version 1 is at one URL (A) and billpay version 1 is at another URL (B), both may need version
1 of signon to be used. In that case, <MSGSETCORE> inside <BANKMSGSETV1> would refer to
<URL>A and <MSGSETCORE> inside <BILLPAYMSGSETV1> would refer to <URL>B, but
<MSGSETCORE> inside <SIGNONMSGSETV1>may refer to either URL or to some other. As
mentioned in Section
2.5.4, the <URL> included in <SIGNONMSGSETV1> does not restrict where the
<SIGNONMSGSRQV1> wrapper may be sent.
OFX 2.1.1 Specification 1315/1/06
7.1.3 Batching and Routing
To allow FIs to set up different servers for different message sets, different versions, or to directly route
some messages to third party processors, message sets define the URL to which a server sends messages in
that message set. Each version of a message set can have a different URL. In the common case where
many or all message sets are sent to a single URL, clients will consolidate messages across compatible
message sets. Clients may consolidate when all of the following are true:
Message sets have the same URL;
Message sets have a common security level; and
Message sets have the same signon realm.
Note: Signon messages can be sent with all other message sets even if the
<SIGNONMSGSET> contains incompatible settings for the URL, security level, or signon
realm. The message set information for signon messages is used only if the signon message is
sent by itself. Otherwise, the settings are inherited from the accompanying service message set.
The same message set may be supported by multiple servers. In this case, each server that supports a
particular message set must have a unique URL.
7.1.4 Client Signon for Profile Requests
Clients must include a signon request <SONRQ> with every message, including profile requests. The first
time that a client requests the FI profile, the signon request will be present, but the user ID and password
will not be valid and will be ignored by the server.
Note: Since elements cannot be set to a blank value, <USERID> and/or <USERPASS> may
be set to lower case “anonymous” followed by 23 zeroes.
Once the user has enrolled and received his or her user ID and password, the client must request the profile
again, even if the profile is not yet out-of-date. Once it has received a successful <PROFRS> (with or
without a profile download) while signed on as the user, the client must not log in anonymously when
sending any later <PROFRQ> to this server.
At this point, the server can respond with a profile response that indicates that the profile is up-to-date or
return a new FI profile in response. If the FI wants to return a customer-specific profile, the FI must use the
second approach. Servers must handle <PROFRQ> without an error whether or not a request arrives with
an anonymous <SONRQ>.
Note: OFX 1.0.2 business rules violate these restrictions, which were added in later versions.
Clients interacting with 2.1.1 servers based on 1.0.2 business rules should gracefully handle
<PROFRS> errors in their first per-user attempt, reverting to anonymous requests for
subsequent requests (until the next response with <STATUS><CODE>0, when they should
once again make a per-user attempt to retrieve the profile). Servers interacting with 2.1.1
clients based on 1.0.2 business rules should not require support for customer-specific profiles.
132 7.1 Overview
Servers correcting problems with per-user <PROFRQ> requests (which previously caused
error responses) must update the FI Profile to tell compliant clients to retry.
For more information about signon requests, refer to section 2.5.
7.1.5 Profile Request <PROFRQ>
A profile request indicates which profile components a client desires. It also indicates what the client’s
routing capability is. Profiles returned by the FI must be compatible with the requested routing style, or the
server returns an error.
Profile requests are not subject to synchronization.
Profile requests must appear within a <PROFTRNRQ> transaction wrapper.
Tag Description
<PROFRQ>
Profile-request aggregate
<CLIENTROUTING>
Identifies client routing capabilities, see table below
<DTPROFUP>
Date and time client last received a profile update, datetime
</PROFRQ>
Tag Description
NONE Client cannot perform any routing. All URLs must be the same. All message sets share a
single signon realm.
SERVICE Client can perform limited routing. See details below.
MSGSET Client can route at the message-set level. Each message set can have a different URL and/
or signon realm.
The SERVICE option supports clients that can route bill payment messages to a separate URL from the
rest of the messages. Because the exact mapping of message sets to the general concept of bill payment can
vary by client and by locale, this specification does not provide precise rules for the SERVICE option.
Each client will define its requirements.
OFX 2.1.1 Specification 1335/1/06
7.2 Profile Response <PROFRS>
To determine whether the client has the latest version of the FI profile, the server checks the date and time
passed by the client in <DTPROFUP>.
If the client has the latest version of the FIs profile, the server returns status code 1 in the <STATUS>
aggregate of the profile-transaction aggregate <PROFTRNRS>. The server does not return a profile-
response aggregate <PROFRS>.
Note: Not sending a response aggregate in this case is an exception to rules outlined in
sections
2.4.6 and 3.1.5.
If the client does not have the latest version of the FI profile, the server responds with the profile-response
aggregate <PROFRS> in the profile-transaction aggregate <PROFTRNRS>. The response includes
message set descriptions, signon information, and general contact information.
Tag Description
<PROFRS>
Profile-response aggregate
<MSGSETLIST>
Beginning list of message set information
<xxxMSGSET>
One or more message set aggregates
</xxxMSGSET>
</MSGSETLIST>
<SIGNONINFOLIST>
Beginning of signon information
<SIGNONINFO>
Zero or more signon information aggregates.
Though the DTD allows an empty <SIGNONINFOLIST>, servers should provide
at least one signon realm (include a minimum of one <SIGNONINFO> aggregate
in the <PROFRS> response).
</SIGNONINFO>
</SIGNONINFOLIST>
<DTPROFUP>
Time this was updated on server, datetime
<FINAME>
Name of institution, A-32
<ADDR1>
FI address, line 1, A-32
<ADDR2>
FI address, line 2, A-32
<ADDR3>
FI address, line 3. Use of <ADDR3> requires the presence of <ADDR2>, A-32
<CITY>
FI address city, A-32
<STATE>
FI address state, A-5
<POSTALCODE>
FI address postal code, A-11
<COUNTRY>
FI address country; 3-letter country code from ISO/DIS-3166, A-3
134 7.2 Profile Response <PROFRS>
7.2.1 Message Set
An aggregate describes each message set supported by an FI. Message sets in turn contain an aggregate for
each version of the message set that is supported. For a message set named xxx, the convention is to name
the outer aggregate <xxxMSGSET> and the tag for each version <xxxMSGSETVn>. The reason for
message set-specific aggregates is that the set of attributes depends on the message set. These can change
from version to version, so there are version-specific aggregates as well.
The general form of the response is:
Tag Description
<xxxMSGSET>
Service aggregate
<xxxMSGSETVn>
Version-of-message-set aggregate, <xxxMSGSETV1> is required. As mentioned in
Sections 14.7.2 and 14.7.3, <PRESDIRMSGSETV1> and <PRESDLVMSGSETV1>
may appear one or more times.
</xxxMSGSETVn>
</xxxMSGSET>
The <xxxMSGSETVn> aggregate has the following form:
Tag Description
<xxxMSGSETVn>
Message-set-version aggregate
<MSGSETCORE>
Common message set information aggregate.
</MSGSETCORE>
Message-set
specific
Zero or more attributes specific to this version of this message set, as defined by each
message set
</xxxMSGSETVn>
<CSPHONE>
Customer service telephone number, A-32
<TSPHONE>
Technical support telephone number, A-32
<FAXPHONE>
Fax number, A-32
<URL>
URL for general information about FI (not for sending data), URL
<EMAIL>
E-mail address for FI, A-80
</PROFRS>
Tag Description
OFX 2.1.1 Specification 1355/1/06
The common message set information <MSGSETCORE> is as follows:
Tag Description
<MSGSETCORE>
Common-message-set-information aggregate
<VER>
Version number of the message set, (for example, <VER>1 for version 1 of the
message set), N-5
Because this information is already provided by the surrounding <xxxMSGSETVn>
wrapper, <VER> should be ignored by OFX clients. Nonetheless, servers should use
the supported value (<VER>1) consistent with that wrapper.
<URL>
URL where messages in this set are to be sent, URL
<OFXSEC>
Security level required for this message set; see Chapter 4, "OFX Security." NONE or
TYPE 1.
<TRANSPSEC>
Y if transport-level security must be used, N if not used; see Chapter 4, "OFX
Security." Boolean
<SIGNONREALM>
Signon realm to use with this message set, A-32
<LANGUAGE>
1 or more.
Language supported, language.
If more than one language is supported, multiple <LANGUAGE> elements can be
sent.
<SYNCMODE>
FULL for full synchronization capability
LITE for lite synchronization capability
See Chapter 6, "Data Synchronization," for more information.
<REFRESHSUPT>
Y if server supports <REFRESH>Y within synchronizations. This option is irrelevant
for full synchronization servers. Clients must ignore <REFRESHSUPT> (or its
absence) if the profile also specifies <SYNCMODE>FULL. For lite synchronization,
the default is N. Without <REFRESHSUPT>Y, lite synchronization servers are not
required to support <REFRESH>Y requests,
Boolean
<RESPFILEER>
Y if server supports file-based error recovery, Boolean
See Chapter 6, "Data Synchronization," for more information.
<SPNAME>
Service provider name, A-32
Some financial institutions out-source their OFX servers to a service provider. In such
cases, the SPNAME element should be included in the MSGSETCORE.
</MSGSETCORE>
Note: For all message sets currently defined in OFX, <TRANSPSEC>Y must be specified.
Note: Within a <MSGSETCORE> aggregate, the <VER> element defines the version number
of that message set. It does not refer to the version number of the OFX specification or the
DTD files. For more information about message sets and version numbers, refer to section
2.4.5.
136 7.2 Profile Response <PROFRS>
Note: Within a message set, there can be more than one <MSGSETCORE> aggregate with the
same value for <VER>, or the same value for <URL>, but not the same value for both. The pair
must be unique for each instance of <MSGSETCORE> within a message set. Multiple
<MSGSETCORE>s with the same value for <VER> are used in instances such as signon or
registration, which may have the same version sent to multiple URLs for different services.
7.2.2 Signon Realms
A signon realm identifies a set of messages that can be accessed using the same password. Realms are used
to disassociate signons from specific services, allowing FIs to require different signons for different
message sets. In practice, FIs will want to use the absolute minimum number of realms possible to reduce
the users workload.
Tag Description
<SIGNONINFO>
Signon-information aggregate
<SIGNONREALM>
Identifies this realm, A-32
<MIN>
Minimum number of password characters, N-2
<MAX>
Maximum number of password characters, N-2
<CHARTYPE>
Type of characters allowed in password:
ALPHAONLY Password may not contain
numeric characters. The server
would allow “abbc”, but not
“1223” or “a122”.
NUMERICONLY Password may not contain
alphabetic characters. The server
would allow “1223”, but not
“abbc” or “a122”.
ALPHAORNUMERIC Password may contain alphabetic
or numeric characters (or both).
The server would allow “abbc”,
“1223”, or “a122”.
ALPHAANDNUMERIC Password must contain both
alphabetic and numeric
characters. The server would
allow “a122”, but not “abbc” or
“1223”.
<CASESEN>
Y if password is case-sensitive, Boolean
<SPECIAL>
Y if special characters are allowed over and above those characters allowed
by <CHARTYPE> and <SPACES>, Boolean
<SPACES>
Y if spaces are allowed over and above those characters allowed by
<CHARTYPE> and <SPECIAL>, Boolean
OFX 2.1.1 Specification 1375/1/06
7.2.3 Status Codes
Value Meaning
0 Success (INFO)
1 Client is up-to-date (INFO)
2000 General error (ERROR)
7.3 Profile Message Set Profile Information
The profile message set functions the same way as all other message sets; therefore, it contains a profile
description for that message set. Because <PROFMSGSET> is always part of a message set response, it is
described here. Servers must include the <PROFMSGSET> as part of the profile response
<PINCH>
Y if server supports <PINCHRQ> (PIN change requests), Boolean
<CHGPINFIRST>
Y if server requires clients to change USERPASS as part of first signon.
Clients must ignore <CHGPINFIRST> if the profile indicates <PINCH>N.
Note that if <MFACHALLENGEFIRST> is also Y, this pin change request
should be sent immediately
after the session containing MFACHALLENGE
authentication. Boolean
<USERCRED1LABEL>
Text prompt for user credential. If it is present, a third credential
(USERCRED1) is required in addition to USERID and USERPASS. A-64
<USERCRED2LABEL>
Text prompt for user credential. If it is present, a fourth credential
(USERCRED2) is required in addition to USERID, USERPASS and
USERCRED1. If present, USERCRED1LABEL must also be present.
A-64
<CLIENTUIDREQ>
Y if CLIENTUID is required, Boolean
<AUTHTOKENFIRST>
Y if server requires clients to send AUTHTOKEN as part of the first signon,
Boolean
<AUTHTOKENLABEL>
Text label for the AUTHTOKEN. Required if server supports
AUTHTOKEN, A-64
<AUTHTOKENINFOURL>
URL where AUTHTOKEN information is provided by the institution
operating the OFX server. Required if server supports AUTHTOKEN, A-255
<MFACHALLENGESUPT>
Y if the server supports MFACHALLENGE functionality, Boolean
<MFACHALLENGEFIRST>
Y if the client is required to send MFACHALLENGERQ as part of the first
signon, before sending any other requests, Boolean
</SIGNONINFO>
Tag Description
138 7.3 Profile Message Set Profile Information
<MSGSETLIST>. There are no attributes, but the aggregate must be present to indicate support for the
message set.
Tag Description
<PROFMSGSET>
Message-set-profile-information aggregate
<PROFMSGSETV1>
Opening tag for V1 of the message set profile information
<MSGSETCORE>
Common message set information
</MSGSETCORE>
</PROFMSGSETV1>
</PROFMSGSET>
OFX 2.1.1 Specification 1395/1/06
CHAPTER 8 ACTIVATION & ACCOUNT INFORMATION
8.1 Overview
The Signup message set defines three messages to help users get setup with their FI:
Enrollment – informs FI that a user wants to use OFX and requests that a password be returned
Accounts – asks the FI to return a list of accounts and the services supported for each account
Activation – allows a client to tell the FI which services a user wants on each account
There is also a message to request name and address changes.
Clients use the account information request on a regular basis to look for changes in a user’s account
information. A time stamp is part of the request so that a server has to report only new changes. Account
activation requests are subject to data synchronization, and will allow multiple clients to learn how the
other clients have been enabled.
In OFX request files, the <SIGNUPMSGSRQV1> aggregate identifies the Signup messages.
8.2 Approaches to User Sign-Up with OFX
The message sets in this chapter are designed to allow both FIs and clients to support a variety of sign-up
procedures. There are four basic steps a user needs to go through to complete the sign-up:
1. Select the FI. OFX does not define this step or provide message sets to support it. Client developers
and FIs can let a user browse or search this information on a web site, or might define additional
message sets to do this within the client. At the conclusion of this step, the client will have some
minimal profile information about the FI, including the set of services supported and the URL to use
for the next step.
2. Enrollment and password acquisition. In this step, the user identifies and authenticates itself to the
FI without a password. In return, the user obtains a password (possibly temporary) to use with OFX.
FIs can perform this entire step over the telephone, through a combination of telephone requests and a
mailed response, or at the FI web site. FIs can also use the OFX enrollment message to do this by
means of the client. The response can contain a temporary password or users can wait for a mailed
welcome letter containing the password.
3. Account Information. In this step, the user obtains a list of accounts available for use with OFX, and
which specific services are available for each account. Even if users have enrolled over the telephone,
clients will still use this message set to help users properly set up the accounts within the client. Clients
periodically check back with the FI for updates.
4. Service Activation. The last step is to activate specific services on specific accounts. The activation
messages support this step. Synchronization is applied to these messages to ensure that other clients
are aware of activated services.
140 8.3 Users and Accounts
The combination of media-interface through which an FI accomplishes these steps can vary. FIs might
wish to do steps two through four over the telephone. Clients will still use OFX messages in steps 3 and 4
to automatically set up the client based on the choices made by the user over the phone. Other FIs might
wish to have the entire user experience occur within the client. Either way, the OFX sign-up messages
support the process.
8.3 Users and Accounts
To support the widest possible set of FIs, OFX assumes that individual users and accounts are in a many-
to-many relationship. Consider a household with three accounts:
Checking 1 – held individually by one spouse
Checking 2 – held jointly by both
Checking 3 – held individually by the other spouse
Checking 2 should be available to either spouse, and the spouse holding Checking 1 should be able to see
both Checking 1 and 2.
OFX expects FIs to give each user their own user ID and password. Each user will go through the
enrollment step separately. A given account need only be activated once for a service; not once for each
user. Clients will use the account information and activation messages to combine information about
jointly held accounts.
If an FI prefers to have a single user ID and password per household or per master account, it will have to
make this clear to users through the enrollment process. It is up to the FI to assign a single user ID and
password that can access all three of the checking accounts described above.
8.4 Enrollment and Password Acquisition
The main purpose of the enrollment message is to communicate a users intent to access the FI by way of
OFX and to acquire a password for future use with OFX. Some FIs might return a user ID and an initial
password in the enrollment response, while others will send them by way of regular mail.
Note: The client may not know the user ID and password when it sends the enrollment
request, in such a case the <USERID> and/or <USERPASS> may be set to lower case
“anonymous” followed by 23 zeroes.
Enrollment requests are not subject to synchronization. If the client does not receive a response, it will
simply re-request the enrollment. If a user successfully enrolls from another client before the first client
obtains a response, the server should respond to subsequent requests from the first client with status code:
13501 - user already enrolled.
OFX 2.1.1 Specification 1415/1/06
8.4.1 User IDs
The OFX <SONRQ> requires a user ID to uniquely identify a user to an FI. The server must accept the
user ID with or without punctuation.
UserIDs are assigned in various ways. Some FIs have existing user IDs that they use for other online
activities that they want to use for OFX as well. Others might create new IDs specifically for OFX. Finally,
some FIs might assign IDs while others might allow users to create them.
To ensure security and help prevent
identity fraud, Financial Institutions are discouraged from using Social Security Number for Customer ID or PIN/
Password.
Because users do not usually know either their OFX sign-on user ID or their password at time of
enrollment, the enrollment response is designed to return both. The enrollment request allows users to
optionally provide a user ID, which an FI can interpret as their existing online ID or a suggestion for what
their new user ID should be. Ideally, the enrollment process should explain ID syntax to users.
8.4.2 Enrollment Request <ENROLLRQ>
The enrollment request captures enough information to identify and authenticate a user as being legitimate
and that it has a relationship with the FI.
FIs might require that an account number be entered as part of the identification process. However, this is
discouraged since the account information request is designed to automatically obtain all account
information, avoiding the effort and potential mistakes of a user-supplied account number.
It is RECOMMENDED that FIs provide detailed specifications for user IDs and passwords along with
information about the services available when a user is choosing an FI.
142 8.4 Enrollment and Password Acquisition
The enrollment request must appear within an <ENROLLTRNRQ> transaction wrapper.
Tag Description
<ENROLLRQ>
Enrollment-request aggregate
<FIRSTNAME>
First name of user, A-32
<MIDDLENAME>
Middle name of user, A-32
<LASTNAME>
Last name of user, A-32
<ADDR1>
Address line 1, A-32
<ADDR2>
Address line 2, A-32
<ADDR3>
Address line 3. Use of <ADDR3> requires the presence of <ADDR2>, A-32
<CITY>
City, A-32
<STATE>
State or province, A-5
<POSTALCODE>
Postal code, A-11
<COUNTRY>
3-letter country code from ISO/DIS-3166, A-3
<DAYPHONE>
Daytime telephone number, A-32
<EVEPHONE>
Evening telephone number, A-32
<EMAIL>
Electronic e-mail address, A-80
<USERID>
Actual user ID if already known, or preferred user ID if user can choose, A-32
<TAXID>
ID used for tax purposes (such as SSN), may be same as user ID, A-32
<SECURITYNAME>
Mothers maiden name or equivalent, A-32
<DATEBIRTH>
Date of birth, date
<xxxACCTFROM>
An account description aggregate for an existing account at the FI, for
identification purposes only. For example, <BANKACCTFROM> or
<INVACCTFROM>.
</xxxACCTFROM>
</ENROLLRQ>
This enrollment request is intended for use only by individuals. Business enrollment will be defined in a
later release.
8.4.3 Enrollment Response <ENROLLRS>
The main purpose of the enrollment response is to acknowledge the request. In those cases where FIs
permit delivery of an ID and a temporary password, the response also provides for this. Otherwise the
server will send the real response to the user by way of regular mail, electronic mail, or over the telephone.
OFX 2.1.1 Specification 1435/1/06
If enrollment is successful, but the server does not return the ID and password in the response, a server is
REQUIRED to use status code 13000 and provide some information to the user by means of the
<MESSAGE> element in the <STATUS> aggregate about what to expect next.
The enrollment response must appear within an <ENROLLTRNRS> transaction wrapper.
Tag Description
<ENROLLRS>
Enrollment-response aggregate
<TEMPPASS>
Temporary password, A-32
<USERID>
User ID, A-32
<DTEXPIRE>
Time the temporary password expires (if <TEMPPASS> included), datetime
</ENROLLRS>
8.4.4 Enrollment Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
13000 User ID & password will be sent out-of-band (INFO)
13500 Unable to enroll user (ERROR)
13501 User already enrolled (ERROR)
15508 Transaction not authorized (ERROR)
144 8.4 Enrollment and Password Acquisition
8.4.5 Examples
An enrollment request:
<ENROLLTRNRQ>
<TRNUID>12345</TRNUID>
<ENROLLRQ>
<FIRSTNAME>Joe</FIRSTNAME>
<MIDDLENAME>Lee</MIDDLENAME>
<LASTNAME>Smith</LASTNAME>
<ADDR1>21 Main St.</ADDR1>
<CITY>Anytown</CITY>
<STATE>TX</STATE>
<POSTALCODE>87321</POSTALCODE>
<COUNTRY>USA</COUNTRY>
<DAYPHONE>123-456-7890</DAYPHONE>
<EVEPHONE>987-654-3210</EVEPHONE>
<EMAIL>jsmith@isp.com</EMAIL>
<USERID>jls</USERID>
<TAXID>123-456-1234</TAXID>
<SECURITYNAME>jbmam</SECURITYNAME>
<DATEBIRTH>19530202</DATEBIRTH>
</ENROLLRQ>
</ENROLLTRNRQ>
And the reply might be:
<ENROLLTRNRS>
<TRNUID>12345</TRUNID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<ENROLLRS>
<TEMPPASS>changeme</TEMPPASS>
<USERID>jls</USERID>
<DTEXPIRE>20060305</DTEXPIRE
</ENROLLRS>
</ENROLLTRNRS>
OFX 2.1.1 Specification 1455/1/06
8.5 Account Information
Account information requests ask a server to identify and describe all of the accounts accessible by the
signed-on user. The definition of all is up to the FI. At a minimum, it is RECOMMENDED that a server
include information about all accounts that it can activate for one or more OFX services. To give the user a
complete picture of his relationship with an FI, FIs can give information on other accounts, even if those
accounts are available only for limited OFX services.
Some service providers do not have prior knowledge of user account information. The profile allows these
servers to report this, and clients then know to ask users for account information rather than reading it from
the server.
Clients can perform several tasks for users with this account information. First, the information helps a
client set up a user for online services by giving it a precise list of its account information and available
services for each. Clients can set up their own internal state as well as prepare service activation requests
with no further typing by users. This can eliminate data entry mistakes in account numbers, routing transit
numbers, and so forth.
Second, FIs can provide limited information on accounts that would not ordinarily be suitable to OFX
services. For example, a balance-only statement download would be useful for certificates of deposits even
though a customer or an FI might not want or allow CDs to be used for full statement download.
For each account, there is one <ACCTINFO> aggregate returned. The aggregate includes one service-
specific account information aggregate for each service available to that account. That, in turn, provides
the service-specific account identification. Common to each service-specific account information
aggregate is the <SVCSTATUS> element, which indicates the status of this service on this account.
A server should return joint accounts (accounts for which more than one user ID can be used to access the
account) for either user.
Requests and responses include a <DTACCTUP> element. Responses contain the last time a server
updated the information. If a user sets up all available accounts returned in an <ACCTINFORS>, clients
are REQUIRED to send the most recent <DTACCTUP> in a subsequent request, and servers are
REQUIRED to compare this to the current modification time and only send information if it is more
recent. If a user does not set up all available accounts returned in an <ACCTINFORS>, it is permissable
for a client to send the old <DTACCTUP> in order to receive active account information that may have
already been returned. Note that this account information may be different than what was returned
previously if some accounts have been added or removed from the active list since the last response. The
server sends the entire account information response if the client’s time is older; there is no attempt to
incrementally update specific account information. <ACCTINFORS> should not be sent when the client is
up-to-date.
Note: Not sending a response aggregate in the case of <ACCTINFORS> is an exception to the
rules outlined in
2.4.6 and 3.1.5.
146 8.5 Account Information
8.5.1 Request <ACCTINFORQ>
The <ACCTINFORQ> request must appear within an <ACCTINFOTRNRQ> transaction wrapper.
Tag Description
<ACCTINFORQ>
Account-information-request aggregate
<DTACCTUP>
Last <DTACCTUP> received in a response, datetime
</ACCTINFORQ>
8.5.2 Response <ACCTINFORS>
The <ACCTINFORS> response must appear within an <ACCTINFOTRNRS> transaction wrapper.
Tag Description
<ACCTINFORS>
Account-information-response aggregate
<DTACCTUP>
Date and time of last update to this information on the server, datetime
<ACCTINFO>
Zero or more account information aggregates
Left out of the response when nothing is found for the current user.
Note: When <DTACCTUP> indicates the client is up-to-date, server should
not return surrounding <ACCTINFORS>.
</ACCTINFO>
</ACCTINFORS>
End of account information response
OFX 2.1.1 Specification 1475/1/06
8.5.3 Account Information Aggregate <ACCTINFO>
Tag Description
<ACCTINFO>
Account-information-record aggregate
<DESC>
Description of the account, A-80
<PHONE>
Telephone number for the account, A-32
<xxxACCTINFO>
Service-specific account information, defined in each service chapter.
Some services may include additional elements. Refer to service chapters
for details.
<xxxACCTFROM>
Service-specific account identification. For a given service xxx, there can
be at most one <xxxACCTINFO> returned. For example, you cannot
return two <BANKACCTINFO> aggregates.
</xxxACCTFROM>
<SVCSTATUS>
AVAIL = Available, but not yet requested
PEND = Requested, but not yet available
ACTIVE = In use
</xxxACCTINFO>
</ACCTINFO>
Note: A server uses the <DESC> field to convey the FIs preferred name for the account, such
as “PowerChecking.” It should not include the account number.
8.5.4 Status Codes
Code Meaning
0 Success (INFO)
1 Client is up-to-date (INFO)
2000 General error (ERROR)
148 8.5 Account Information
8.5.5 Examples
An account information request:
<ACCTINFOTRNRQ>
<TRNUID>12345</TRNUID>
<ACCTINFORQ>
<DTACCTUP>20050101</DTACCTUP>
</ACCTINFORQ>
</ACCTINFOTRNRQ>
And a response for a user with access to one account, supporting banking:
<ACCTINFOTRNRS>
<TRNUID>12345</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<ACCTINFORS>
<DTACCTUP>20050301</DTACCTUP>
<ACCTINFO>
<DESC>Power Checking</DESC>
<PHONE>8002223333</PHONE>
<BANKACCTINFO>
<BANKACCTFROM>
<BANKID>1234567789</BANKID>
<ACCTID>12345</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<SUPTXDL>Y</SUPTXDL>
<XFERSRC>Y</XFERSRC>
<XFERDEST>Y</XFERDEST>
<SVCSTATUS>ACTIVE</SVCSTATUS>
</BANKACCTINFO>
</ACCTINFO>
</ACCTINFORS>
</ACCTINFOTRNRS>
OFX 2.1.1 Specification 1495/1/06
8.6 Service Activation
Clients inform FIs that they wish to start, modify, or terminate a service for an account by sending service
activation requests. These are subject to data synchronization, and servers should send responses to inform
clients of any changes, even if the changes originated on the server.
Clients use these records during the initial user sign-up process. Once a client learns about the available
accounts and services (by using the account information request above, or by having a user directly enter
the required information), it sends a series of service ADD requests.
If a user changes any of the identifying information about an account, the client sends a service activation
request containing both the old and the new account information. Servers should interpret this as a change
in the account, not a request to transfer the service between two existing accounts, and all account-based
information such as synchronization tokens should continue. If a user or FI is reporting that a service
should be moved between two existing accounts, service must be terminated for the old account and
started for the new account. The new account will have reset token histories, as with any new service.
Each service to be added, changed, or removed is contained in its own request because the same real-world
account might require different <xxxACCTFROM> aggregates depending on the type of service.
8.6.1 Activation Request <ACCTRQ>
The <ACCTRQ> request must appear within an <ACCTTRNRQ> transaction wrapper.
Tag Description
<ACCTRQ>
Account-service-request aggregate
Action identification. Specify
either <SVCADD>,
<SVCCHG>, or <SVCDEL>
Action aggregate, either <SVCADD>, <SVCCHG>, or <SVCDEL>
<SVCADD>
</SVCCADD>
-or-
Service-addition aggregate
<SVCCHG>
</SVCCHG>
-or-
Service-change aggregate
<SVCDEL>
</SVCDEL>
Service-deletion aggregate
<SVC>
Service to be added/changed/deleted
BANKSVC = Banking service
BPSVC = Payments service
INVSVC = Investments
PRESSVC = Bill presentment service
</ACCTRQ>
150 8.6 Service Activation
8.6.1.1 Service Add Aggregate <SVCADD>
When a client sends a <SVCADD> to a financial institution routing particular messages to another service
provider, it is up to the financial institution to determine whether or not an <ENROLLRQ> needs to be sent
to the service provider along with the <SVCADD>. The FI may choose to always send an <ENROLLRQ>
and ignore the 13550 error message responses, though this would only be reliable if <xxxACCTFROM> is
included in the <ENROLLRQ>. The FI may also choose to keep a database of enrolled services, so as to
send an <ENROLLRQ> only when the client is sending a <SVCADD> for a new service. The FI also has
the option of sending <ENROLLRQ>s to all service providers when the client sends the initial
<ENROLLRQ> to the FI.
Tag Description
<SVCADD>
Service-addition aggregate
<xxxACCTTO>
Service-specific-account-identification aggregate (for example,
<BANKACCTTO> or <INVACCTTO>)
</xxxACCTTO>
</SVCADD>
8.6.1.2 Service Change Aggregate <SVCCHG>
Tag Description
<SVCCHG>
Service-change aggregate
<xxxACCTFROM>
Service-specific-account-identification aggregate (for example,
<BANKACCTFROM> or <INVACCTFROM>)
</xxxACCTFROM>
<xxxACCTTO>
Service-specific-account-identification aggregate (for example, <BANKACCTTO>
or <INVACCTTO>)
</xxxACCTTO>
</SVCCHG>
8.6.1.3 Service Delete Aggregate <SVCDEL>
Tag Description
<SVCDEL>
Service-deletion aggregate
<xxxACCTFROM>
Service-specific-account-identification aggregate (for example,
<BANKACCTFROM> or <INVACCTFROM>)
</xxxACCTFROM>
</SVCDEL>
OFX 2.1.1 Specification 1515/1/06
8.6.2 Activation Response <ACCTRS>
The <ACCTRS> response must appear within an <ACCTTRNRS> transaction wrapper.
Tag Description
<ACCTRS>
Account-service-response aggregate
Action identification. Specify
either <SVCADD>,
<SVCCHG>, or <SVCDEL>
<SVCADD>
</SVCADD>
-or-
Service-addition aggregate
<SVCCHG>
</SVCCHG>
-or-
Service-change aggregate
<SVCDEL>
</SVCDEL>
Service-deletion aggregate
<SVC>
Service to be added/changed:
BANKSVC = Banking service
BPSVC = Payments service
INVSVC = Investments
PRESSVC = Bill Presentment service
<SVCSTATUS>
AVAIL = Available, but not yet requested
PEND = Requested, but not yet available
ACTIVE = In use
</ACCTRS>
152 8.6 Service Activation
8.6.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
6502 Unable to process embedded transaction due to out-of-date <TOKEN>
(ERROR)
13502 Invalid service (ERROR)
15508 Transaction not authorized (ERROR)
OFX 2.1.1 Specification 1535/1/06
8.6.4 Service Activation Synchronization
Service activation requests are subject to the standard data synchronization protocol. The scope of these
requests and the <TOKEN> is the user ID. The request and response tags are <ACCTSYNCRQ> and
<ACCTSYNCRS>.
8.6.4.1 Request <ACCTSYNCRQ>
Tag Description
<ACCTSYNCRQ>
Activation synchronization request aggregate
Client synchronization
option; <TOKEN>,
<TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization request
from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<ACCTTRNRQ>
Account-service-request transactions (0 or more)
</ACCTTRNRQ>
</ACCTSYNCRQ>
8.6.4.2 Response <ACCTSYNCRS>
Tag Description
<ACCTSYNCRS>
Payee-list-request aggregate
<TOKEN>
New synchronization token, token
<ACCTTRNRS>
Account-service-response transactions (0 or more)
</ACCTTRNRS>
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in the
server’s history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token in the
server’s history table. Boolean
</ACCTSYNCRS>
154 8.6 Service Activation
8.6.5 Examples
Activating a payment:
<ACCTTRNRQ>
<TRNUID>12345</TRNUID>
<ACCTRQ>
<SVCADD>
<BANKACCTTO>
<BANKID>1234567789</BANKID>
<ACCTID>12345</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTTO>
</SVCADD>
<SVC>BPSVC
</ACCTRQ>
</ACCTTRNRQ>
A response:
<ACCTTRNRS>
<TRNUID>12345</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<ACCTRS>
<SVCADD>
<BANKACCTTO>
<BANKID>1234567789</BANKID>
<ACCTID>12345</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTTO>
</SVCADD>
<SVC>BPSVC</SVC>
<SVCSTATUS>ACTIVE</SVCSTATUS>
</ACCTRS>
</ACCTTRNRS>
OFX 2.1.1 Specification 1555/1/06
8.7 Name and Address Changes
Users may request that an FI update the official name, address, phone, and e-mail information using the
<CHGUSERINFORQ>. All modified and unmodified elements are submitted in a change user
information request, <CHGUSERINFORQ>. The lack of inclusion of a field in a change user request
when that field was previously populated implies its deletion on the server. The response reports all of the
current values. If the USERID element is not present in CHGUSERINFO, then the USERID from the
SONRQ is assumed to be the identifier for the user in question. For security reasons, some of the fields in
the <ENROLLRQ> cannot be changed online, such as tax ID and userID.
The transaction tags are <CHGUSERINFOTRNRQ> and <CHGUSERINFOTRNRS>. These messages
are subject to synchronization, <CHGUSERINFOSYNCRQ>, and <CHGUSERINFOSYNCRS>.
8.7.1 Change User Information Request <CHGUSERINFORQ>
Tag Description
<CHGUSERINFORQ>
Change-user-information-request aggregate
<FIRSTNAME>
First name of user, A-32
<MIDDLENAME>
Middle name of user, A-32
<LASTNAME>
Last name of user, A-32
<ADDR1>
Address line 1, A-32
<ADDR2>
Address line 2. Use of <ADDR2> requires the presence of <ADDR1>, A-32
<ADDR3>
Address line 3. Use of <ADDR3> requires the presence of <ADDR2>, A-32
<CITY>
City, A-32
<STATE>
State or province, A-5
<POSTALCODE>
Postal code, A-11
<COUNTRY>
3-letter country code from ISO/DIS-3166, A-3
<DAYPHONE>
Daytime telephone number, A-32
<EVEPHONE>
Evening telephone number, A-32
<EMAIL>
Electronic e-mail address, A-80
</CHGUSERINFORQ>
156 8.7 Name and Address Changes
8.7.2 Change User Information Response <CHGUSERINFORS>
Tag Description
<CHGUSERINFORS>
Change-user-information-request aggregate
<FIRSTNAME>
First name of user, A-32
<MIDDLENAME>
Middle name of user, A-32
<LASTNAME>
Last name of user, A-32
<ADDR1>
Address line 1, A-32
<ADDR2>
Address line 2. Use of <ADDR2> requires the presence of <ADDR1>, A-32
<ADDR3>
Address line 3. Use of <ADDR3> requires the presence of <ADDR2>, A-32
<CITY>
City, A-32
<STATE>
State or province, A-5
<POSTALCODE>
Postal code, A-11
<COUNTRY>
3=letter country code from ISO/DIS-3166, A-3
<DAYPHONE>
Daytime telephone number, A-32
<EVEPHONE>
Evening telephone number, A-32
<EMAIL>
Electronic e-mail address, A-80
<DTINFOCHG>
Date and time of update datetime
</CHGUSERINFORS>
8.7.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
6502 Unable to process embedded transaction due to out-of-date <TOKEN>
(ERROR)
13503 Cannot change user information (ERROR)
15508 Transaction not authorized (ERROR)
OFX 2.1.1 Specification 1575/1/06
8.7.4 Change User Information Synchronization
Change user information requests are subject to the standard data synchronization protocol. The scope of
these requests and the <TOKEN> is the user ID. The request and response tags are
<CHGUSERINFOSYNCRQ> and <CHGUSERINFOSYNCRS>.
8.7.4.1 Request <CHGUSERINFOSYNCRQ>
Tag Description
<CHGUSERINFOSYNCRQ>
Activation synchronization request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<CHGUSERINFOTRNRQ>
Change user information request transactions (0 or more)
</CHGUSERINFOTRNRQ>
</CHGUSERINFOSYNCRQ>
8.7.4.2 Response <CHGUSERINFOSYNCRS>
Tag Description
<CHGUSERINFOSYNCRS>
Payee-list-request aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry
in the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
<CHGUSERINFOTRNRS>
Change user information response transactions (0 or more)
<CHGUSERINFOTRNRS>
</CHGUSERINFOSYNCRS>
158 8.8 Signup Message Set Profile Information
8.8 Signup Message Set Profile Information
A server which supports this message set must include the following aggregates as part of the profile
<MSGSETLIST> response, since every server must support at least the account information and service
activation messages. Servers indicate how enrollment should proceed: via the client, a given web page, or
a text message directing users to some other method (such as a phone call).
Tag Description
<SIGNUPMSGSET>
Signup-message-set-profile-information aggregate
<SIGNUPMSGSETV1>
Opening tag for V1 of the message set profile information
<MSGSETCORE>
Common message set information, defined in Chapter 7, "FI Profile"
</MSGSETCORE>
Enrollment options. Choose one of
<CLIENTENROLL>,
<WEBENROLL>, or
<OTHERENROLL>.
<CLIENTENROLL>
Client-based enrollment supported
<ACCTREQUIRED>
Y if account number is required as part of enrollment, Boolean
</CLIENTENROLL>
-or-
<WEBENROLL>
Web-based enrollment supported
<URL>
URL to start enrollment process, URL
</WEBENROLL>
-or-
<OTHERENROLL>
Some other enrollment process
<MESSAGE>
Message to consumer about what to do next (for example, a phone
number), A-80
</OTHERENROLL>
<CHGUSERINFO>
Y if server supports client-based user information changes, Boolean
<AVAILACCTS>
Y if server can provide information on accounts with SVCSTATUS
available, N means client should expect to ask user for specific account
information,
Boolean
<CLIENTACTREQ>
Y if server allows clients to make service activation requests
(<ACCTRQ>), N if server will only advise clients via synchronization
of service additions, changes, or deletions.
Boolean
</SIGNUPMSGSETV1>
</SIGNUPMSGSET>
OFX 2.1.1 Specification 1595/1/06
160 8.8 Signup Message Set Profile Information
OFX 2.1.1 Specification 1615/1/06
CHAPTER 9 CUSTOMER TO FI COMMUNICATION
9.1 The E-Mail Message Set
The e-mail message set includes two messages: generic e-mail and generic MIME requests by way of
URLs. In OFX files, the message set name is EMAILMSGSV1.
9.2 E-Mail Messages
OFX allows consumers and FIs to exchange messages. The message body can be placed in HTML so that
FIs can provide some graphic structure to the message. Keep in mind that, as with regular World Wide Web
browsing, an OFX client might not support some or all of the HTML formatting, so the text of the message
must be clear on its own. Clients can request the server to send graphics (the images referenced in an
<IMG> tag) as part of the response file, or clients can separately request those elements. If a server sends
images, it should use the standard procedure for incorporating external data as described in
Chapter 2,
"Structure." Servers are not required to support HTML or to send images, even if the client asks.
A user or an FI can originate a message. E-mail messages are subject to data synchronization so that a
server can send a response again if it is lost or if multiple clients use it.
Because e-mail messages cannot be replied to immediately, the response should just echo back the original
message (so that data synchronization will get this original e-mail message to other clients). When the FI is
ready to reply, it should generate an unsolicited response (<TRNUID>0) and the client will pick this up
during synchronization.
Client Sends Server Responds
Account information
From, To
Subject
Message
Account information
From, To
Subject
Message
Type
162 9.2 E-Mail Messages
9.2.1 Regular vs. Specialized E-Mail
Several services with OFX define e-mail requests and responses that contain additional information
specific to that service. To simplify implementation for OFX clients and servers, this section defines a
<MAIL> aggregate that OFX uses in all e-mail requests and responses. For regular e-mail, the only
additional information is an account-from aggregate and whether to include images in the e-mail response
or not.
When users want to send messages about service-specific problems, service-specific messages are best.
However, when service-specific mail transactions are not available, general mail is acceptable.
9.2.2 Basic <MAIL> Aggregate
Tag Description
<MAIL>
Core e-mail aggregate
<USERID>
User identification, A-32
<DTCREATED>
When message was created, datetime
<FROM>
Who the message is from, A-32
<TO>
Who the message should be delivered to, A-32
<SUBJECT>
Subject of message (plain text, not HTML), A-60
<MSGBODY>
Body of message, HTML-encoded or plain text depending on <USEHTML>,
HTML-encoded text - A-10000
Plain text - A-2000
<INCIMAGES>
Include images in the message body. Boolean
<USEHTML>
Y for HTML-formatted text. N for plain text. See section 9.2.2.2 for more information.
Boolean
</MAIL>
OFX 2.1.1 Specification 1635/1/06
9.2.2.1 <INCIMAGES>
The meaning of the <INCIMAGES> element depends on whether the element appears in a request or
response.
When used in a request, <INCIMAGES> indicates whether the client accepts mail that includes images in
the message body.
When used in a request... Description
<INCIMAGES>Y
The client accepts mail that includes images in the message body. In this case,
the server can choose whether to send images in the response.
<INCIMAGES>N
The client does not accept mail that includes images in the message body. In
this case, the server must not send images in the response.
When used in a response, <INCIMAGES> indicates whether the server included images in the message
body.
When used in a response… Description
<INCIMAGES>Y
The server included images in the message body.
<INCIMAGES>N
The server did not include images in the message body.
9.2.2.2 <USEHTML>
The meaning of the <USEHTML> element depends on whether the element appears in a request or
response.
When used in a request, <USEHTML> indicates whether the client sends and accepts HTML-formatted
text in the message body. If a server receives a <xxxMAILSYNCRQ> request with <USEHTML>Y set,
the server should process the request whether or not it supports HTML mail. If a server does not support
HTML mail, it should simply set the <USEHTML> flag to N in any transactions which are returned in the
sync response.
When used in a request… Description
<USEHTML>Y
The client is including HTML-formatted text in the message body. In addition,
the client will accept mail responses that include HTML-formatted text in the
message body. In this case, a server can choose whether to respond with
HTML-formatted text or plain text.
<USEHTML>N
The client is not including HTML-formatted text in the message body. In
addition the client will not accept mail responses that include HTML-
formatted text in the message body.
164 9.2 E-Mail Messages
When used in a response, <USEHTML> indicates whether the message body includes HTML-formatted
text or plain text.
When used in a response… Description
<USEHTML>Y
The server is including HTML-formatted text in the message body.
<USEHTML>N
The server is including only plain text in the message body.
Note: When using HTML for the message body, clients and servers are REQUIRED to
enclose the HTML in a CDATA section to protect the HTML markup: <![CDATA[ ... html ...
]]>. For an example, see section
9.2.5.
9.2.3 E-Mail <MAILRQ> <MAILRS>
E-mail is subject to synchronization. The transaction aggregate is <MAILTRNRQ> / <MAILTRNRS> and
the synchronization aggregate is <MAILSYNCRQ> / <MAILSYNCRS>.
Tag Description
<MAILRQ>
E-mail-message-request aggregate
<MAIL>
Core e-mail aggregate
</MAIL>
</MAILRQ>
In a response, the <TRNUID> is zero if this is an unsolicited message or an out-of-band reply to a prior
email request. Immediate responses (acknowledgments) to a request should contain the <TRNUID> of the
users original message. It is RECOMMENDED that servers include the <MESSAGE> of the users
message as part of the reply <MESSAGE>. The <MESSAGE> contents can include carriage returns to
identify desired line breaks.
Tag Description
<MAILRS>
E-mail-message-response aggregate
<MAIL>
Core e-mail aggregate
</MAIL>
</MAILRS>
OFX 2.1.1 Specification 1655/1/06
9.2.3.1 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
15508 Transaction not authorized (ERROR)
16500 HTML not allowed (ERROR)
16501 Unknown mail To: (ERROR)
166 9.2 E-Mail Messages
9.2.4 E-Mail Synchronization <MAILSYNCRQ> <MAILSYNCRS>
E-mail presents a special case with regards to synchronization. Since FIs will not immediately reply to a
users e-mail, the response to the users e-mail only echoes the request and confirms that the e-mail was
successfully received. The client receives the real response to the e-mail following a synchronization
request.
Note that this synchronization action expects only the basic <MAILRS> responses. Specialized e-mail is
received by means of their own synchronization requests.
Tag Description
<MAILSYNCRQ>
E-mail-synchronization-request aggregate
Client synchronization
option; <TOKEN>,
<TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization request
from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<INCIMAGES>
Y if the client accepts mail with images in the message body, N if the client does
not accept mail with images in the message body, Boolean
<USEHTML>
Y if client wants an HTML response, N if client wants plain text, Boolean
<MAILTRNRQ>
Mail-transaction-request aggregate (0 or more)
</MAILTRNRQ>
</MAILSYNCRQ>
Tag Description
<MAILSYNCRS>
E-mail-synchronization-response. aggregate
<TOKEN>
Server history marker, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in the
servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token in the
servers history table. Boolean
<MAILTRNRS>
Missing e-mail response transactions (0 or more)
</MAILTRNRS>
</MAILSYNCRS>
OFX 2.1.1 Specification 1675/1/06
9.2.5 E-Mail Example
In this example, a consumer requests information about the checking statement just downloaded. Since the
financial institution will not immediately answer the inquiry, the immediate response only echoes the
consumers request and confirms that the request was successfully received.
The client receives the real response at a later time following a mail synchronization request. For an
example of the mail synchronization request and response, see section
9.2.5.1.
Note: This example omits the <OFX> top level and the signon <SONRQ>. Since this example
uses HTML for the message body, it must protect the HTML content in an CDATA-marked
section.
The request:
<MAILTRNRQ>
<TRNUID>54321</TRNUID>
<MAILRQ>
<MAIL>
<USERID>123456789</USERID>
<FROM>James Hackleman</FROM>
<TO>Noelani Federal Savings</TO>
<SUBJECT>What do I need to earn interest?</SUBJECT>
<DTCREATED>20050305</DTCREATED>
<MSGBODY><![CDATA[<HTML><BODY>I didn’t earn any interest this
month. Can you please tell me what I need to do to earn interest on this
account?</BODY></HTML>
]]></MSGBODY>
<INCIMAGES>N</INCIMAGES>
<USEHTML>Y</USEHTML>
</MAIL>
168 9.2 E-Mail Messages
</MAILRQ>
</MAILTRNRQ>
The response from the FI:
<MAILTRNRS>
<TRNUID>54321</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<MAILRS>
<MAIL>
<USERID>123456789</USERID>
<FROM>James Hackleman</FROM>
<TO>Noelani Federal Savings</TO>
<SUBJECT>What do I need to earn interest?</SUBJECT>
<DTCREATED>20050305</DTCREATED>
<MSGBODY><![CDATA[<HTML><BODY>I didn’t earn any interest this
month. Can you please tell me what I need to do to earn interest on this
account?</BODY></HTML>]]></MSGBODY>
<INCIMAGES>N</INCIMAGES>
<USEHTML>Y</USEHTML>
</MAIL>
</MAILRS>
</MAILTRNRS>
9.2.5.1 E-Mail Synchronization Example
In the following example, the client has not yet received the reply to the e-mail sent in the previous
example, so its <TOKEN> is one less than the servers. The server replies by giving the current <TOKEN>
and the missed response.
<MAILSYNCRQ>
<TOKEN>101</TOKEN>
<REJECTIFMISSING>N</REJECTIFMISSING>
<INCIMAGES>N</INCIMAGES>
<USEHTML>Y</USEHTML>
</MAILSYNCRQ>
<MAILSYNCRS>
<TOKEN>102</TOKEN>
<MAILTRNRS>
OFX 2.1.1 Specification 1695/1/06
<TRNUID>0</TRNUID> <!-- server initiated response -->
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<MAILRS>
<MAIL>
<USERID>123456789</USERID>
<DTCREATED>20050307</DTCREATED>
<FROM>Noelani Federal Savings</FROM>
<TO>James Hackleman</TO>
<SUBJECT>Re: What do I need to earn interest?</SUBJECT>
<MSGBODY><![CDATA[<HTML><BODY>You need to maintain $1000 in
this account to earn interest. Because your balance was only $750 this
month, no interest was earned. You could also switch to our new Checking
Extra plan that always pays interest. Call us or check our web page
http://www.fi.com/check-plans.html for more information.
Sincerely,
Customer Service Department
Original message:
I didn’t earn any interest this month. Can you please tell me what I
need to do to earn interest on this account?</BODY></HTML>]]></MSGBODY>
<INCIMAGES>N</INCIMAGES>
<USEHTML>Y</USEHTML>
</MAIL>
</MAILRS>
</MAILTRNRS>
</MAILSYNCRS>
170 9.3 Get HTML Page
9.3 Get HTML Page
Some responses (<PROFRS> and <FINDBILLERRS> for example) contain values that are URLs
intended to be separately fetched by clients. Clients can use their own HTTP libraries to perform this fetch
outside of the OFX specification. However, to insulate clients against changes in transport technology, and
to allow for fetches that require the protection of an authenticated signon by a specific user, OFX defines a
transaction roughly equivalent to an HTTP Get. Any MIME type can be retrieved, including images as
well as HTML pages.
When a <GETMIMERQ> request appears in a request file and no error occurs in processing, the server
must return a response file containing multiple entities (defined in the MIME protocol to include the
MIME headers and content for one part of the transmission). Such a response file has content type
“multipart/x-mixed-replace”, as discussed in section
2.1. One entity contains the OFX response. Other
entities contain the content of individual retrievals corresponding to each <GETMIMERS> in the OFX
entity.
When multiple <GETMIMERS> responses (corresponding to successful <GETMIMERQ> requests)
appear in an OFX response entity, the server must return individual entities in the same order as the
corresponding response aggregates. Since the OFX response itself should be the only entity with content
type “application/x-ofx” in the response file, the client may find the retrieved information in predictable
locations within the multipart response.
9.3.1 MIME Get Request and Response <GETMIMERQ>
<GETMIMERS>
The following table lists the components of a request:
Tag Description
<GETMIMERQ>
Get-MIME-request aggregate
<URL>
URL, URL
</GETMIMERQ>
The response simply echoes the URL. The actual response, whether HTML, an image, or some other type,
is always sent as a separate part of the file using multipart MIME.
Tag Description
<GETMIMERS>
Get-MIME-response aggregate
<URL>
URL, URL
</GETMIMERS>
OFX 2.1.1 Specification 1715/1/06
9.3.1.1 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2019 Duplicate request (ERROR)
16502 Invalid URL (ERROR)
16503 Unable to get URL (ERROR)
9.3.2 MIME Example
A request:
<GETMIMETRNRQ>
<TRNUID>54321</TRNUID>
<GETMIMERQ>
<URL>http://www.fi.com/apage.html</URL>
</GETMIMERQ>
</GETMIMETRNRQ>
A response – the full file is shown here to illustrate the use of multipart MIME:
HTTP 1.0 200 OK
Content-Type: multipart/x-mixed-replace; boundary =boundary =XYZZY24x7
--XYZZY24x7
Content-Type: application/x-ofx
Content-Length: 8732
<?xml version="1.0"?>
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<OFX>
<!-- signon not shown
message set wrappers not shown -->
<GETMIMETRNRS>
<TRNUID>54321</TRNUID>
<STATUS>
<CODE>0</CODE>
172 9.3 Get HTML Page
<SEVERITY>INFO</SEVERITY>
</STATUS>
<GETMIMERS>
<URL>http://www.fi.com/apage.html</URL>
</GETMIMERS>
</GETMIMETRNRS>
</OFX>
--XYZZY24x7
Content-Type: text/html
<HTML>
<!-- standard HTML page -->
</HTML>
--XYZZY24x7--
OFX 2.1.1 Specification 1735/1/06
9.4 Message Sets and Profile
9.4.1 Message Set and Messages
The following tables show the OFX Email transactions and their corresponding transaction wrappers.
9.4.1.1 Email Message Set and Messages
9.4.1.1.1 Email Message Set Request Messages
Message Set Message
<EMAILMSGSRQV1>
MAILTRNRQ
MAILRQ
GETMIMETRNRQ
GETMIMERQ
MAILSYNCRQ
</EMAILMSGSRQV1>
9.4.1.1.2 Email Message Set Response Messages
Message Set Message
<EMAILMSGSRSV1>
MAILTRNRS
MAILRS
GETMIMETRNRS
GETMIMERS
MAILSYNCRS
</EMAILMSGSRSV1>
9.4.2 E-Mail Message Set Profile
If either or both of the messages in the e-mail message set are supported, the following aggregate must be
included in the profile <MSGSETLIST> response. If <EMAILMSGSET> is supported by the server, you
174 9.4 Message Sets and Profile
must also support <MAILSYNCRQ>.
Tag Description
<EMAILMSGSET>
E-mail-message-set-profile-information aggregate
<EMAILMSGSETV1>
Opening tag for V1 of the message set profile information
<MSGSETCORE>
Common message set information, defined in Chapter 7, "FI Profile"
</MSGSETCORE>
<MAILSUP>
Y if server supports <MAILRQ> request. N if server supports only the
<MAILSYNCRQ> request. Boolean
<GETMIMESUP>
Y if server supports get MIME message, Boolean
</EMAILMSGSETV1>
</EMAILMSGSET>
OFX 2.1.1 Specification 1755/1/06
CHAPTER 10 RECURRING TRANSACTIONS
OFX enables users to automate transactions that occur on a regular basis. Recurring transactions are useful
when a customer has payments or transfers, for example, that repeat at regular intervals. The customer can
create a “model” at the server for automatic generation of these instructions. The model in turn creates
payments or transfers until it is canceled or expires. After the user creates a recurring model at the server,
the server can relieve the user from the burden of creating these transactions; it generates the transactions
on its own, based on the operating parameters of the model.
10.1 Creating a Recurring Model
The client must provide the following information to create a model:
Type of transaction generated by the model (payment or transfer)
Frequency of recurring transaction
Total number of recurring transactions to generate
Service-specific information, such as transfer date, payment amount, payee address
The model creates each transaction some time before its due date, usually thirty days. This allows the user
to retrieve the transactions in advance of posting. This also gives the user the opportunity to modify or
cancel individual transactions without changing the recurring model itself.
When a model is created, it can generate several transactions immediately. The model does not
automatically return responses for the newly created transactions. It returns a response only to the request
that was made to create the model. For this reason, clients should send a synchronization request along
with the request to create a model. This allows the server to return the newly created transaction responses,
as well as the response to the request to set up a new model.
176 10.2 Recurring Instructions <RECURRINST>
10.2 Recurring Instructions <RECURRINST>
The Recurring Instructions aggregate is used to specify the schedule for a repeating instruction. It is passed
to the server when a recurring transfer or payment model is first created.
Tag Description
<RECURRINST>
Recurring-Instructions aggregate
<NINSTS>
Number of instructions
If this element is absent, the schedule is open-ended, N-3
<FREQ>
Frequency, see section 10.2.1
</RECURRINST>
10.2.1 Values for <FREQ>
Value Description
WEEKLY Weekly
BIWEEKLY Biweekly
TWICEMONTHLY Twice a month
MONTHLY Monthly
FOURWEEKS Every four weeks
BIMONTHLY Bimonthly
QUARTERLY Quarterly
SEMIANNUALLY Semiannually
ANNUALLY Annually
Rules for calculating recurring dates of WEEKLY, BIWEEKLY, and TWICEMONTHLY are as follows:
WEEKLY = starting date for first transaction, starting date + 7 days for the second
TWICEMONTHLY = starting date for first, starting date + 15 days for the second
BIWEEKLY = starting date for first, starting date + 14 days for the second
Note that servers are free to adjust the payment date of a spawned payment to accommodate weekends and
holidays. For instance, if August 1 falls on a Saturday, a MONTHLY model generating payments on the
1st of each month might change the due date of its August 1 payment to July 31.
OFX 2.1.1 Specification 1775/1/06
Examples:
Start date of May 2: next transaction date for WEEKLY is May 9; TWICEMONTHLY is May 17; next transfer
date for BIWEEKLY is May 16.
Start date of May 20: next date for WEEKLY is May 27; TWICEMONTHLY is June 4; next date for BIWEEKLY
is June 3.
TWICEMONTHLY recurring transactions will occur each month on those days adjusting for weekends and
holidays. BIWEEKLY will occur every 14 days.
10.2.2 Examples
The following example illustrates the creation of a repeating payment. The payment repeats on a monthly
basis for 12 months. All payments are for $395.
The request:
.
.
.
<RECPMTRQ>
<RECURRINST>
<NINSTS>12</NINSTS>
<FREQ>MONTHLY</FREQ>
</RECURRINST>
<PMTINFO>
<BANKACCTFROM>
<BANKID>555432180</BANKID>
<ACCTID>763984</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>395.00</TRNAMT>
<PAYEEID>77810</PAYEEID>
<PAYACCT>444-78-97572</PAYACCT>
<DTDUE>20051115</DTDUE>
<MEMO>Auto loan payment</MEMO>
</PMTINFO>
</RECPMTRQ>
.
.
.
178 10.2 Recurring Instructions <RECURRINST>
The response includes the <RECSRVRTID> that the client can
use to cancel or modify the model:
.
.
.
<RECPMTRS>
<RECSRVRTID>387687138</RECSRVRTID>
<RECURRINST>
<NINSTS>12</NINSTS>
<FREQ>MONTHLY</FREQ>
</RECURRINST>
<PMTINFO>
<BANKACCTFROM>
<BANKID>555432180</BANKID>
<ACCTID>763984</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>395.00</TRNAMT>
<PAYEEID>77810</PAYEEID>
<PAYACCT>444-78-97572</PAYACCT>
<DTDUE>20051115</DTDUE>
<MEMO>Auto loan payment</MEMO>
</PMTINFO>
</RECPMTRS>
.
.
.
OFX 2.1.1 Specification 1795/1/06
10.3 Retrieving Transactions Generated by a Recurring
Model
Once created, a recurring model independently generates instructions. At the time the instance is
generated, its status is pending. At this point, the pending/spawned transaction is treated as a single
transaction, and the rules for what happens to this transaction are the same as if it had been generated from
an explicit request. Since the client has not directly generated these transactions, the client has no record of
their creation. To enable users to modify and/or cancel these transactions, the client must use data
synchronization in order to retrieve these transactions. (Some message sets also support an inquiry request,
which may be used once the SRVRTID of the transaction is obtained via synchronization.)
The client has two purposes for synchronizing state with the server with respect to recurring models:
Retrieve any added, modified, or canceled recurring models
Retrieve any added, modified, or canceled transactions generated by any models
The client must be able to synchronize with the state of any models at the server, as well as the state of any
transactions generated by the server.
10.3.1 Models and Sync Behavior
When a model spawns a payment, the corresponding change may be reflected in the sync in the form of a
<RECPMTMODRS> with <TRNUID>0. The change would be reflected in a decremented <NINSTS> as
well as a changed <DTDUE> which would contain the date of the next payment to be spawned. If the
server chooses to send a last <RECPMTMODRS> containing <NINSTS>0, the client should use this to
know that the model is finished.
A recurring payments refresh should cause the current, not original, state of the model to be sent. The
remaining number of instances (<NINSTS>) and the date due (<DTDUE>) of the next payment to be
spawned should be returned. This assures that another client who may not know about payment history
relevant to the state of the model (such as payment cancellations) can know the current state of the model.
10.4 Modifying and Canceling Individual Transactions
Once created and retrieved by the customer, recurring payments and transfers are almost identical to
customer-created payments or transfers. As with ordinary payments or transfers, you can cancel or modify
transactions individually. However, because servers generate these transfers, they are different in the
following respects:
Recurring transactions must be retrieved as part of a synchronization request.
Recurring transactions are related to a model. A server can modify or cancel transactions if the model is
modified or canceled.
180 10.5 Modifying and Canceling Recurring Models
10.5 Modifying and Canceling Recurring Models
A recurring model can be modified or canceled. When a model is modified, all transactions that it
generates in the future will change as well. The client can indicate whether transactions that have been
generated, but have not been sent, should be modified as well. The actual elements within a transaction
that can be modified differ by service. See the recurring sections within
Chapter 11, "Banking," and
Chapter 12, "Payments," for details. When a model is cancelled, the server cancels any transactions that it
has not yet sent.
If a client indicates that the modification or cancellation of a model should also affect its pending
transactions, those individual modifications/cancellations must appear in the appropriate synchronization
response the next time a synchronization request is made. For example, a recurring payment cancellation
request that affects pending payments should cause payment cancellation responses to show up in the
payment synchronization response for all pending payments belonging to the model.
10.5.1 Examples
Canceling a recurring payment model requires the client to pass the <RECSRVRTID> of the model. The
client requests that pending payments also be canceled. The server cancels the model immediately and
notifies the client that the model was canceled.
The request:
.
.
.
<RECPMTCANCRQ>
<RECSRVRTID>387687138</RECSRVRTID>
<CANPENDING>Y</CANPENDING>
</RECPMTCANCRQ>
.
.
.
The response:
.
.
.
<RECPMTCANCRS>
<RECSRVRTID>387687138</RECSRVRTID>
<CANPENDING>Y</CANPENDING>
</RECPMTCANCRS>
.
.
OFX 2.1.1 Specification 1815/1/06
.
The server also cancels any payments that have been generated but not executed. In the example shown
above, the client would not learn of this immediately. To receive notification that all pending payments
were canceled, the client would need to send a synchronization request in the file. The following example
illustrates this.
182 10.5 Modifying and Canceling Recurring Models
The next request file contains a synchronization request:
.
.
.
<PMTSYNCRQ>
<TOKEN>12345</TOKEN>
<REJECTIFMISSING>N</REJECTIFMISSING>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
</PMTSYNCRQ>
.
.
.
The response file contains one response (assuming one payment was pending).
.
.
.
<PMTSYNCRS>
<TOKEN>123456</TOKEN>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<PMTTRNRS>
<TRNUID>0</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PMTCANCRS>
<SRVRTID>1030155</SRVRTID>
</PMTCANCRS>
</PMTTRNRS>
</PMTSYNCRS>
.
.
OFX 2.1.1 Specification 1835/1/06
Note that because requests are not guaranteed to be executed in order, a PMTSYNCRQ in the same file as
the RECPMTCANCRQ would not guarantee that the cancelled payments would be returned, since the
PMYSYNCRQ might be executed first. This is the reason two OFX files are required in the example
above.
10.6 Expired Models
A model should (preferably) expire after the last pending transfer/payment has been executed for that
model, rather than when the last transfer/payment has been spawned. This enables the user to change and/
or cancel the model (possibly, with the <MODPENDING>Y or <CANPENDING>Y flags) during this
period.
Models should show up in synchronization responses even after they have expired (at least for a time),
since the RECSRVRTID will be in payment synchronization responses and a client needs to find the
corresponding model. Servers may safely remove this information shortly after the final payment or
transfer has posted to the source account.
184 10.6 Expired Models
OFX 2.1.1 Specification 1855/1/06
CHAPTER 11 BANKING
OFX enables financial insititution (FI) customers to keep their finances up-to-date and to manage their
bank accounts conveniently in several ways. Customers can download transactions and update account
balances on a daily basis. They can retrieve a closing statement that contains the same information that
they are accustomed to seeing on a paper statement. They can transfer funds between accounts at a
financial institution, either immediately upon going online or on a regular schedule. Customers can
schedule transfers between accounts on a recurring basis and can transfer funds between accounts at
different financial institutions. If necessary, customers can request a wire funds transfer. OFX also enables
requests to stop payment on pending checks.
Using customer notification, an FI can notify customers of important events regarding their accounts, such
as returned checks or deposits.
11.1 Consumer and Business Banking
OFX supports banking for both consumers and businesses. Some customers might use some areas more
heavily within OFX Banking (such as credit card download); other areas might be more appropriate for
businesses (such as wire transfers). Yet all of the functionality defined for Banking is appropriate to some
extent for both consumer and business applications.
11.1.1 Loan Data
Loan data is available to OFX clients through the statement download facility. Statement download
provides a way to download loan transaction data and balances on an as-needed basis. Statement closing
information can be made available to clients as well. Loan amortization schedules are also available
through the amortization download facility.
11.2 Credit Card Data
Credit card data is available to OFX clients through the statement download facility. Statement download
provides a way to download credit card transaction data and balances on an as-needed basis. Statement
closing information can be made available to clients as well.
11.3 Common Banking Aggregates
This section describes several aggregates used throughout the Banking portion of OFX.
186 11.3 Common Banking Aggregates
11.3.1 Banking Account <BANKACCTFROM> and <BANKACCTTO>
OFX uses the Banking Account aggregates to identify an account at an FI. The aggregates contain enough
information to uniquely identify an account for the purposes of statement download, bill payment, and
funds transfer. <CCACCTFROM> identifies credit card accounts; see section
11.3.2.
<LOANACCTFROM> identifies loan accounts; see section 11.3.7.
Tag Description
<BANKACCTFROM>
Bank-account-from aggregate
<BANKID>
Bank identifier, A-9
Use of this field by country:
COUNTRY
BEL
CAN
CHE
DEU
ESP
FRA
GBR
ITA
NLD
USA
Interpretation
Bank code
Routing and transit number
Clearing number
Bankleitzahl
Entidad
Banque
Sort code
ABI
Not used (field contents ignored)
Routing and transit number
<BRANCHID>
Branch identifier. May be required for some non-US banks, A-22
Use of this field by country:
COUNTRY
BEL
CAN
CHE
DEU
ESP
FRA
GBR
ITA
NLD
USA
Interpretation
Not present
Not present
Not present
Not present
Oficina
Agence
Not present
CAB
Not present
Not present
<ACCTID>
Account number, A-22
OFX 2.1.1 Specification 1875/1/06
<ACCTTYPE>
Type of account, see section 11.3.1.1
<ACCTKEY>
Checksum, A-22
Use of this field by country:
COUNTRY
BEL
CAN
CHE
DEU
ESP
FRA
GBR
ITA
NLD
USA
Interpretation
Check digits
Not present
Not present
Not present
D.C.
Clé
Not present
CIN
Not present
Not present
</BANKACCTFROM>
Tag Description
188 11.3 Common Banking Aggregates
Tag Description
<BANKACCTTO>
Bank-account-to aggregate
<BANKID>
Bank identifier, A-9
Use of this field by country:
COUNTRY
BEL
CAN
CHE
DEU
ESP
FRA
GBR
ITA
NLD
USA
Interpretation
Bank code
Routing and transit number
Clearing number
Bankleitzahl
Entidad
Banque
Sort code
ABI
Not used (field contents ignored)
Routing and transit number
<BRANCHID>
Branch identifier. May be required for some banks, A-22
Use of this field by country:
COUNTRY
BEL
CAN
CHE
DEU
ESP
FRA
GBR
ITA
NLD
USA
Interpretation
Not present
Not present
Not present
Not present
Oficina
Agence
Not present
CAB
Not present
Not present
<ACCTID>
Account number, A-22
<ACCTTYPE>
Type of account, see section 11.3.1.1
<ACCTKEY>
Checksum, A-22
Use of this field by country:
OFX 2.1.1 Specification 1895/1/06
11.3.1.1 Account Types for <ACCTTYPE> Elements
Type Description
CHECKING Checking
SAVINGS Savings
MONEYMRKT Money Market
CREDITLINE Line of credit
COUNTRY
BEL
CAN
CHE
DEU
ESP
FRA
GBR
ITA
NLD
USA
Interpretation
Check digits
Not present
Not present
Not present
D.C.
Clé
Not present
CIN
Not present
Not present
</BANKACCTTO>
Tag Description
190 11.3 Common Banking Aggregates
11.3.2 Credit Card Account <CCACCTFROM> and <CCACCTTO>
OFX uses the Credit Card Account aggregate to identify a credit card account at an FI. The aggregate
contains enough information to uniquely identify an account for the purposes of statement downloads and
funds transfer. It is not necessary to support the Credit Card Message Set in order to use the Credit card
account aggregate.
Tag Description
<CCACCTFROM>
Credit-card-account-from aggregate
<ACCTID>
Account number, A-22
<ACCTKEY>
Checksum for international banks, A-22
</CCACCTFROM>
The <CCACCTTO> aggregate contains the same elements.
OFX 2.1.1 Specification 1915/1/06
11.3.3 Bank Account Information <BANKACCTINFO>
OFX uses the bank account information aggregate to download account information from an FI. It includes
account number specification in <BANKACCTFROM> as well as the status of the service.
Tag Description
<BANKACCTINFO>
Bank-account-information aggregate
<BANKACCTFROM>
Bank-account-from aggregate
</BANKACCTFROM>
<SUPTXDL>
Y if account supports transaction detail downloads, N if it is balance-only,
Boolean
<XFERSRC>
Y if account is enabled as a source for an intrabank or interbank transfer, Boolean
<XFERDEST>
Y if account is enabled as a destination for an intrabank or interbank transfer,
Boolean
<SVCSTATUS>
Status of the account
AVAIL = Available, but not yet requested
PEND = Requested, but not yet available
ACTIVE = In use
</BANKACCTINFO>
192 11.3 Common Banking Aggregates
11.3.4 Credit Card Account Information <CCACCTINFO>
OFX uses the credit card account information aggregate to download account information from an FI. It
includes credit card number specification in <CCACCTFROM> as well as the status of the service.
Tag Description
<CCACCTINFO>
Credit-card-account-information aggregate
<CCACCTFROM>
Credit-card-account-from aggregate
</CCACCTFROM>
<SUPTXDL>
Y if account supports transaction detail downloads, N if it is balance-only,
Boolean
<XFERSRC>
Y if account is enabled as a source for an intrabank or interbank transfer, Boolean
<XFERDEST>
Y if account is enabled as a destination for an intrabank or interbank transfer,
Boolean
<SVCSTATUS>
Status of the account
AVAIL = Available, but not yet requested
PEND = Requested, but not yet available
ACTIVE = In use
</CCACCTINFO>
11.3.5 Transfer Information <XFERINFO>
Many of the transfer requests and responses use an <XFERINFO> aggregate. This aggregate identifies
accounts that are part of the transfer, amount of money to be transferred, and the date of the transfer.
The <DTDUE> in a response may have been adjusted by a server. For example, the server may adjust
<DTDUE> to comply with non-processing days. If a client sends a request to make a transfer on July 4 and
July 4 happens to be a non-processing day, the <DTDUE> in the response may be July 4 (because the
server hasn’t adjusted it yet), July 5 (because this server rolls dates forward), or some other date. For this
reason, a client should pay attention to the <DTDUE> in the response.
OFX 2.1.1 Specification 1935/1/06
Tag Description
<XFERINFO>
Transfer-information aggregate
Account-from options.
Choose either
<BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Bank account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
Account-to options. Choose
either <BANKACCTTO> or
<CCACCTTO> or
<LOANACCTTO>
<BANKACCTTO>
Bank account-to aggregate, see section 11.3.1
</BANKACCTTO>
-or-
<CCACCTTO>
Credit-card account-to aggregate, see section 11.3.2
</CCACCTTO>
-or-
<LOANACCTTO>
Loan account-to aggregate, see section 11.3.7
</LOANACCTTO>
<TRNAMT>
Amount of the transfer, amount
This amount should be specified as a positive number.
<LOANTRNAMT>
Loan transaction amount aggregate, see section 11.3.9. Total of all these items
must equal <TRNAMT> value.
</LOANTRNAMT>
<DTDUE>
Date that the transfer is to be sent. If the client does not specify <DTDUE>, the
transfer occurs as soon as possible. <DTDUE> is required for scheduled or
repeating transfers,
datetime
194 11.3 Common Banking Aggregates
If the server has the breakdown available at the time of the transfer, <XFERINFO> should include the
<LOANTRNAMT> aggregate in <INTRATRNRS>. Otherwise, the breakdown of the loan payment may
be returned in <LOANSTMTTRN>.
</XFERINFO>
Tag Description
OFX 2.1.1 Specification 1955/1/06
11.3.6 Transfer Processing Status <XFERPRCSTS>
The Transfer Processing Status aggregate contains the current processing status for a transfer. This
aggregate is intended to describe status changes to the associated transfer after creation. The interpretation
of the date value depends on the value of <XFERPRCCODE>.
Tag Description
<XFERPRCSTS>
Transfer processing status aggregate
<XFERPRCCODE>
See section 11.3.6.1
<DTXFERPRC>
Transfer processing date; value depends on <XFERPRCCODE>
</XFERPRCSTS>
11.3.6.1 Transfer Processing Status Values <XFERPRCCODE>
Value Description
WILLPROCESSON Will be processed on <DTXFERPRC>
POSTEDON Posted on <DTXFERPRC>
NOFUNDSON Funds not available to make transfer on <DTXFERPRC>
CANCELEDON User canceled payment on <DTXFERPRC>
FAILEDON Unable to make transfer for unspecified reasons on <DTXFERPRC>
196 11.3 Common Banking Aggregates
11.3.7 Loan Account <LOANACCTFROM> and <LOANACCTTO>
Open Financial Exchange uses the Loan Account aggregate to identify a loan account at a financial
institution. The aggregate contains enough information to uniquely identify an account for the purpose of
statement download and funds transfer.
Tag Description
<LOANACCTFROM>
Transfer processing status aggregate
<LOANACCTID>
Account number, A-32
<LOANACCTTYPE>
Loan account type, see section 11.3.7.1
</LOANACCTFROM>
The <LOANACCTTO> aggregate contains the same elements as <LOANACCTFROM>.
11.3.7.1 Loan Account Type <LOANACCTTYPE>
Value Description
AUTO Automobile Loan
CONSUMER Consumer Loan
MORTGAGE Mortgage Loan
COMMERCIAL Commercial Loan
STUDENT Student Loan
MILITARY Military Loan
SMB Small Business Loan
CONSTR Construction Loan
HOMEEQUITY Home Equity Loan
OFX 2.1.1 Specification 1975/1/06
11.3.8 Loan Account Information <LOANACCTINFO>
Tag Description
<LOANACCTINFO>
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<LOANTYPE>
Type of term, use one of:
FIXED = Payments made at fixed intervals, also known as "installment"
REVOLVE = Revolving term
OPEN = Open-ended loan such as a line of credit, home equity line of credit, etc.
COMBO = Combination of above
<LOANINITNUMPMTS>
Initial number of loan payments. N-5
<LOANINITBAL>
Initial loan balance, amount
<LOANFREQ>
Frequency of payments, see section 11.3.8.1
<DTLOANSTART>
Start date of loan, date
<DTLOANMATURITY>
Expected loan end date. date
Must be returned if <LOANFREQ>MATURITY
<PRINBAL>
Loan Princiapl Balance aggregate, see section 11.3.8.2
</PRINBAL>
<BALLOONAMT>
Not included or zero for regular loans, otherwise Balloon amount, amount
<LOANINT>
Loan Interest aggregate, see section 11.3.8.3
</LOANINT>
<LOANIRATE>
Loan Rate aggregate, see section 11.3.8.4
</LOANIRATE>
<LOANPMT>
Loan Payment aggregate, see section 11.3.8.5
</LOANPMT>
<LOANRMNPMTS>
Remaining number of loan payments. N-5
<SUPTXDL>
Y if account supports transaction detail downloads, N if it is balance-only,
Boolean
<XFERSRC>
Y if account is enabled as a source for an intrabank or interbank transfer, Boolean
<XFERDEST>
Y if account is enabled as a destination for an intrabank or interbank transfer,
Boolean
198 11.3 Common Banking Aggregates
11.3.8.1 Values for <LOANFREQ>
Value Description
WEEKLY Weekly
BIWEEKLY Biweekly
TWICEMONTHLY Twice a month
MONTHLY Monthly
FOURWEEKS Every four weeks
BIMONTHLY Bimonthly
QUARTERLY Quarterly
SEMIANNUALLY Semiannually
ANNUALLY Annually
MATURITY Payment is only due upon maturity
of loan
When using frequency of MATURITY, server must also return <DTLOANMATURITY>.
Refer to section 10.2.1for rules for calculating recurring dates of WEEKLY, BIWEEKLY, and
TWICEMONTHLY.
<SVCSTATUS>
Status of the account, choose one of the following:
AVAIL = Available, but not yet requested
PEND = Requested, but not yet available
ACTIVE = In use
</LOANACCTINFO>
Tag Description
OFX 2.1.1 Specification 1995/1/06
11.3.8.2 Principal Balance
Tag Description
<PRINBAL>
Loan Principal Balance aggregate
<BALAMT>
Current loan principal balance, amount
<PRINYTD>
Total principal paid year to date, amount
<PRINLTD>
Total principal paid loan to date, amount
<DTASOF>
Date and time of the current loan balance. datetime
</PRINBAL>
<PRINBAL>
11.3.8.3 Loan Interest <LOANINT
Tag Description
<LOANINT>
Loan interest paid.
Return at least one of
the following:
<LOANINTYTD>
Total interest paid year to date, amount
-or-
<LOANINTLTD>
Total interest paid loan to date, amount
-or-
<LOANINTPRJ>
Total projected interest to be paid on this loan, amount
<DTASOF>
Date and time of the current interest information, datetime
</LOANINT>
>
11.3.8.4 Loan Interest Rate <LOANIRATE>
Tag Description
<LOANIRATE>
<LOANINTRATE>
Current loan interest rate, rate
<RATETYPE>
Type of rate, choose one of the following:
FIXED = Fixed rate for the life of the loan
FLOATING = Floating interest rate
ARM = Adjustable rate mortgage
200 11.3 Common Banking Aggregates
11.3.8.5 Loan Payment Amount
Tag Description
<LOANPMT>
<PMTAMT>
Next loan payment amount, amount
<DTPMTDUE>
Next payment due date, datetime
<ESCRWAMT>
Escrow aggregate for mortgages, see section 11.3.9.1
</ESCRWAMT>
<LOANPMTTYPE>
Type of payment, choose one of the following
INTONLY = Interest only payments required
PRNANDINT = Principal and interest included in set payment
PRNPLUSINT = Principal plus accrued interest owing
</LOANPMT>
<LOANPMT>
<DTASOF>
Date and time of the current interest rate, datetime
</LOANIRATE>
Tag Description
OFX 2.1.1 Specification 2015/1/06
11.3.9 Loan Transaction Amount <LOANTRNAMT>
Tag Description
<LOANTRNAMT>
<PRINAMT>
Amount of payment applied to Principal. amount
<INTAMT>
Amount of payment applied to interest. amount
<ESCRWAMT>
Escrow aggregate for mortgages, see section 11.3.9.1
</ESCRWAMT>
<INSURANCE>
Life, accident, health insurance on loan, amount
</LOANTRNAMT>
11.3.9.1 Escrow Amount
Tag Description
<ESCRWAMT>
<ESCRWTOTAL>
Total amount of payment applied to Escrow, amount
<ESCRWTAX>
Amount of tax set aside in Escrow, amount
<ESCRWINS>
Amount of insurance set aside in Escrow, amount
<ESCRWPMI>
Amount of PMI set aside in Escrow, amount
<ESCRWFEES>
Amount of fees set aside in Escrow, amount
<ESCRWOTHER>
Amount of other amount set aside in Escrow, amount
</ESCRWAMT>
<ESCRWAMT>
The amount of ESCRWTAX + ESCRWINS + ESCRWPMI + ESCRWFEES + ESCRWOTHER should
normally equal ESCRWTOTAL. However, if values do not compute, client should roll remainder into
<ESCRWOTHER>.
202 11.4 Downloading Transactions and Balances
11.4 Downloading Transactions and Balances
Statement download allows a customer to receive transactions and balances that are typically part of a
regular paper statement. Clients can retrieve transactions and balances on a daily basis if they wish.
Coupled with the information returned by statement closing information request (see section
11.5), a client
can construct an “electronic statement” that contains all of the information that appears on a regular paper
statement.
Clients typically allow customers to view these transactions and guide customers through a process of
updating their account registers based on the downloaded transactions. By using transaction IDs supplied
by financial institutions, OFX makes it possible for clients to ensure that a server downloads each
transaction only once. The request also contains starting and ending dates to limit the amount of
downloaded data. Clients can remember the last date they received data and use it as the starting date in the
next request.
The messages in this chapter are appropriate for checking, savings, money market, credit card, and line of
credit accounts. Investment statement download is a superset of bank statement download.
Chapter 13,
"Investments," describes the messages specific to investment statement download.
Statement download requires the client to designate an account for the download, and to indicate if the
server should download transactions and/or balances. If the client wishes to download transactions, it can
specify a date range that the transactions fall within.
The server returns transactions that match the date range (if the client specifies one), and balance
information for the account.
Client Sends Server Responds
Account information
Include transactions?
Date range
Transactions
Cycle-ending information
OFX 2.1.1 Specification 2035/1/06
11.4.1 Bank Statement Download
A client can request a download of balances separately from transaction detail. The server downloads
transactions only if the <INCTRAN> aggregate is present and the <INCLUDE> flag is set to Y. The
current ledger balance (and balance date) are always downloaded.
If a statement download request does not contain <DTSTART> or <DTEND> elements but does request
transactions and if no transactions are found on the server, the response may or may not include a
<BANKTRANLIST>. If the <BANKTRANLIST> is included, the server should leave out the empty
<STMTTRN> aggregate(s).
You can use the <STMTRQ> … <STMTRS> request and response pair to download transactions and
balances for checking, savings, money market, and line of credit accounts. Section
11.4.2 describes
download for credit card accounts.
Clients and servers should interpret <DTSTART> and <DTEND> as described in Chapter 3, "Common
Aggregates, Elements, and Data Types."
Image transaction information can be requested by including <INCTRANIMG>Y in a <STMTRQ>,
requesting the server to return image data corresponding to transaction images, if available. The image
identification data returned in any <STMTTRN> aggregate is not the actual image, but will be used to
access the image through subsequent client sessions. See Chapter 15, “Image Download”, for more
information about retrieving images from the server.
11.4.1.1 Request <STMTRQ>
The <STMTRQ> request must appear within a <STMTTRNRQ> transaction wrapper.
Tag Description
<STMTRQ>
Statement-request aggregate
<BANKACCTFROM>
Bank-account-from aggregate, see section 11.3.1
</BANKACCTFROM>
<INCTRAN>
Include-transactions aggregate
<DTSTART>
Start date of statement requested, datetime
<DTEND>
End date of statement requested, datetime
<INCLUDE>
Include transactions flag, Boolean
</INCTRAN>
<INCTRANIMG>
Include transaction image information, Boolean
</STMTRQ>
204 11.4 Downloading Transactions and Balances
11.4.1.2 Response <STMTRS>
A statement response comprises elements supplying various balances, plus zero or more <STMTTRN>
aggregates, each describing one statement transaction.
The response can contain a <BALLIST> aggregate that allows an FI to send any number of <BAL>
aggregates (see Chapter 3, “Common Aggregates, Elements, and Data Types”) to the user, complete with
description and Help text.
The <STMTRS> response must appear within a <STMTTRNRS> transaction wrapper.
See Chapter 3, "Common Aggregates, Elements, and Data Types," for size and type information for
common elements (such as currency values).
Tag Description
<STMTRS>
Statement-response aggregate
<CURDEF>
Default currency for the statement, currsymbol
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
<BANKTRANLIST>
Statement-transaction-data aggregate
<DTSTART>
Start date for transaction data, date
<DTEND>
Value that client should send in next <DTSTART> request to ensure that it does
not miss any transactions, date
<STMTTRN>
Opening tag for each statement transaction (0 or more), see section 11.4.3
</STMTTRN>
End tag for each statement transaction
</BANKTRANLIST>
<LEDGERBAL>
Ledger balance aggregate
<BALAMT>
Ledger balance amount, amount
<DTASOF>
Balance date, datetime
</LEDGERBAL>
<AVAILBAL>
Available balance aggregate
<BALAMT>
Available balance amount, amount
<DTASOF>
Balance date, datetime
</AVAILBAL>
<BALLIST>
List of miscellaneous other balances
OFX 2.1.1 Specification 2055/1/06
11.4.1.3 Status Codes
Code Meaning
0 Success
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
11.4.2 Credit Card Statement Download
The credit card download request is semantically identical to the bank statement download request.
However, the <CCSTMTRQ> aggregate contains the credit card request, not the <STMTRQ> aggregate.
If a statement download request does not contain <DTSTART> or <DTEND> elements but does request
transactions and if no transactions are found on the server, the response may or may not include a
<BANKTRANLIST>. If the <BANKTRANLIST> is included, the server should leave out the empty
<STMTTRN> aggregate(s).
<BAL>
Balance aggregates (0 or more), see section 3.1.4
See Appendix B, "Suggested Name Values for the Banking <BALLIST>," for a
list of suggested common values for use with the <NAME> and <DESC> tags
in these <BAL> aggregates.
Note: Should the balance type not map to any of those shown in B.2, any value
for the <NAME> and <DESC> fields may be used.
</BAL>
</BALLIST>
<MKTGINFO>
Marketing information (at most 1), A-360
</STMTRS>
Tag Description
206 11.4 Downloading Transactions and Balances
11.4.2.1 Request <CCSTMTRQ>
The <CCSTMTRQ> request must appear within a <CCSTMTTRNRQ> transaction wrapper.
Tag Description
<CCSTMTRQ>
Credit-card-download-request aggregate
<CCACCTFROM>
Credit-card-account-from aggregate
<ACCTID>
Account number, A-22
<ACCTKEY>
Checksum for international banks, A-22
</CCACCTFROM>
<INCTRAN>
Include transactions
<DTSTART>
Start date of statement requested, datetime
<DTEND>
Ending date of statement requested, datetime
<INCLUDE>
Include transactions flag, Boolean
</INCTRAN>
</CCSTMTRQ>
OFX 2.1.1 Specification 2075/1/06
11.4.2.2 Response <CCSTMTRS>
The credit card download response is semantically identical to the bank statement download response.
However, the <CCSTMTRS> aggregate contains the credit card response, not the <STMTRS> aggregate.
The response can contain a <BALLIST> aggregate that allows an FI to send any number of <BAL>
aggregates (see Chapter 3, “Common Aggregates, Elements, and Data Types”) to the user, complete with
description and Help text.
The <CCSTMTRS> response must appear within a <CCSTMTTRNRS> transaction wrapper.
Tag Description
<CCSTMTRS>
Credit-card-download-response aggregate
<CURDEF>
Default currency for the statement, currsymbol
<CCACCTFROM>
Account from aggregate, see section 11.3.2
</CCACCTFROM>
<BANKTRANLIST>
Opening tag for statement transaction data
<DTSTART>
Start date for transaction data, date
<DTEND>
Value client should send in next <DTSTART> request to ensure that it does not
miss any transactions, date
<STMTTRN>
Opening tag for each statement transaction (0 or more), see section 11.4.3
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
Ledger-balance aggregate
<BALAMT>
Ledger balance amount, amount
<DTASOF>
Balance date, datetime
</LEDGERBAL>
<AVAILBAL>
Available balance aggregate
<BALAMT>
Available balance amount, amount
<DTASOF>
Balance date, datetime
</AVAILBAL>
<BALLIST>
List of miscellaneous other balances
208 11.4 Downloading Transactions and Balances
<BAL>
Balance aggregates (0 or more), see section 3.1.4
See Appendix B, "Suggested Name Values for the Banking <BALLIST>," for a
list of suggested common values for use with the <NAME> and <DESC> tags
in these <BAL> aggregates.
Note: Should the balance type not map to any of those shown in B.2, any value
for the <NAME> and <DESC> fields may be used.
</BAL>
</BALLIST>
<MKTGINFO>
Marketing information (at most 1), A-360
</CCSTMTRS>
Tag Description
OFX 2.1.1 Specification 2095/1/06
11.4.2.3 Status Codes
Code Meaning
0 Success
2001 Invalid account (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
11.4.3 Statement Transaction <STMTTRN>
A <STMTTRN> aggregate describes a single transaction. It identifies the type of the transaction and the
date it was posted. The aggregate can also provide additional information to help the customer recognize
the transaction: check number, payee name, and memo. The transaction can have a Standard Industrial
Code that a client can use to categorize the transaction.
Each <STMTTRN> contains an <FITID> that the client uses to detect whether the server has previously
downloaded the transaction.
Transaction amounts are signed from the perspective of the customer. For example, a credit card payment
is positive while a credit card purchase is negative.
210 11.4 Downloading Transactions and Balances
Tag Description
<STMTTRN>
Statement-transaction aggregate
<TRNTYPE>
Transaction type, see section 11.4.3.1 for possible values. This element does not
change the effect of the transaction upon the balance (increases and decreases
are indicated by the sign of the <TRNAMT>).
<DTPOSTED>
Date transaction was posted to account, datetime
<DTUSER>
Date user initiated transaction, if known, datetime
<DTAVAIL>
Date funds are available (value date), datetime
<TRNAMT>
Amount of transaction, amount
<FITID>
Transaction ID issued by financial institution.
Used to detect duplicate downloads, FITID
<CORRECTFITID>
If present, the FITID of a previously sent transaction that is corrected by this
record. This transaction replaces or deletes the transaction that it corrects, based
on the value of <CORRECTACTION> below,
FITID
<CORRECTACTION>
Actions can be REPLACE or DELETE. REPLACE replaces the transaction
referenced by CORRECTFITID; DELETE deletes it.
<SRVRTID>
Server assigned transaction ID; used for transactions initiated by client, such as
payment or funds transfer. If a transaction associated with a transfer contains a
SRVRTID, the associated account is either the transfer's "to" or "from" account.
Transactions for both accounts in a transfer would contain the same SRVRTID.
SRVRTID
<CHECKNUM>
Check (or other reference) number, A-12
<REFNUM>
Reference number that uniquely identifies the transaction. Can be used in
addition to or instead of a <CHECKNUM>, A-32
<SIC>
Standard Industrial Code, N-6
<PAYEEID>
Payee identifier if available, A-12
Payee options. Choose either
<NAME> or <PAYEE>.
<NAME>
Name of payee or description of transaction, A-32
Note: Provide NAME or PAYEE, not both
-or-
<PAYEE>
Payee aggregate, see section 12.5.2.1
</PAYEE>
<EXTDNAME>
Extended name of payee or description of transaction, A-100
OFX 2.1.1 Specification 2115/1/06
Account-to options. Choose
either <BANKACCTTO> or
<CCACCTTO>.
<BANKACCTTO>
If this was a transfer to an account and the account information is available, see
section 11.3.1
</BANKACCTTO>
-or-
<CCACCTTO>
</CCACCTTO>
<MEMO>
Extra information (not in <NAME>), MEMO
<IMAGEDATA>
Image data aggregate, up to 2 allowed. See section 3.1.6.1
</IMAGEDATA>
Currency options. Choose
either <CURRENCY> or
<ORIGCURRENCY>.
<CURRENCY>
Currency, if different from CURDEF, see section 5.2.
</CURRENCY>
-or-
<ORIGCURRENCY>
</ORIGCURRENCY>
<INV401KSOURCE>
Source of cash for this transaction. See section 13.9.2.4.2.
</STMTTRN>
Tag Description
212 11.4 Downloading Transactions and Balances
11.4.3.1 Transaction types used in <TRNTYPE>
Transfers generated from a model are treated identically to individually requested transfers by OFX.
Therefore, they should have the transaction types listed below once they are processed. Transfers initiated
out of band with respect to OFX should also be handled in this fashion when they appear in a statement
download.
Type Description
CREDIT Generic credit
DEBIT Generic debit
INT Interest earned or paid
Note: Depends on signage of amount
DIV Dividend
FEE FI fee
SRVCHG Service charge
DEP Deposit
ATM ATM debit or credit
Note: Depends on signage of amount
POS Point of sale debit or credit
Note: Depends on signage of amount
XFER Transfer
CHECK Check
PAYMENT Electronic payment
CASH Cash withdrawal
DIRECTDEP Direct deposit
DIRECTDEBIT Merchant initiated debit
REPEATPMT Repeating payment/standing order
OTHER Other
OFX 2.1.1 Specification 2135/1/06
11.4.4 Loan Statement Download
The loan download request is semantically identical to the bank and credit card statement download
requests. However, the <LOANSTMTTRNRQ> aggregate contains the loan request, not the <STMTRQ>
or <CCSTMTRQ> aggregate.
Image transaction information can be requested by including <INCTRANIMG>Y in a
<LOANSTMTRQ>, requesting the server to return image data corresponding to transaction images, if
available. The image identification data returned in any <LOANSTMTTRN> aggregate is not the actual
image, but will be used to access the image through subsequent client sessions. See Chapter 15, “Image
Download”, for more information about retrieving images from the server.
11.4.4.1 Request <LOANSTMTRQ>
The <LOANSTMTRQ> request must appear within a <LOANSTMTTRNRQ> transaction wrapper.
Tag Description
<LOANSTMTRQ>
Loan-download-request aggregate
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
<LOANACCTFROM>
<INCTRAN>
Include transactions
<DTSTART>
Start date of statement requested, datetime
<DEND>
Ending date of statement requested, datetime
<INCLUDE>
Include transactions flag, Boolean
</INCTRAN>
<INCTRANIMG>
Include data for transaction images, Boolean
</LOANSTMTRQ>
11.4.4.2 Response <LOANSTMTRS>
The loan download response is semantically similar to the bank and credit card statement download
request with the addition of new tags relating to interest rates, and various balances. However, the
<LOANSTMTTRNRS> aggregate contains the loan response, not the <STMTRS> or <CCSTMTRS>
aggregate.
The <LOANSTMTRS> response must appear within a <LOANSTMTTRNRS> transaction wrapper.
Tag Description
<LOANSTMTRS>
Loan-download-request aggregate
214 11.4 Downloading Transactions and Balances
<CURDEF>
Default currency for the statement, currsymbol
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<LOANTRANLIST>
Opening tag for statement transaction data
<DTSTART>
Start date for transaction data, date
<DTEND>
Value client should send in next <DSTART> request to ensure that it does not
miss any transactions, date
<LOANSTMTTRN>
Opening tag for each statement transaction (0 or more), see section 11.4.5
</LOANSTMTTRN>
End tag for each statement transaction
</LOANTRANLIST>
<PRINBAL>
Principal-balance aggregate, see section 11.3.8.2
</PRINBAL>
<AVAILBAL>
Available balance aggregate
<BALAMT>
Available credit balance amount, amount
<DTASOF>
Balance date, datetime
</AVAILBAL>
<MKTGINFO>
Marketing information (at most 1), A-360
</LOANSTMTRS>
Tag Description
OFX 2.1.1 Specification 2155/1/06
11.4.4.3 Status Codes
Code Meaning
0 Success
2001 Invalid account (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
216 11.4 Downloading Transactions and Balances
11.4.5 Loan Statement Transaction <LOANSTTMTTRN>
A <LOANSTMTTRN> aggregate describes a single transaction. It identifies the type of the transaction
and the date it was posted. The aggregate can also provide additional information to help the customer
recognize the transaction: check number, name, memo and images. Each <LOANSTMTTRN> contains
an <FITID> that the client uses to detect whether the server has previously downloaded the transaction.
Transaction amounts are signed from the perspective of the customer. For example, a loan payment is
positive while a loan advance is negative.
If the server has available the breakdown of payment into principal, interest and escrow,
<LOANSTMTTRN> should include <LOANTRNAMT> When provided, the sum of the
<LOANTRNAMT> aggregate should equal <TRNAMT>.
Tag Description
<LOANSTMTTRN>
Loan-statement-transaction aggregate
<LOANTRNTYPE>
Transaction type, see section 11.4.5.1 for possible values
<DTPOSTED>
Date transaction was posted to account, datetime
<DTUSER>
Date user initiated transaction, if known, datetime
<TRNAMT>
Amount of transaction, amount
<LOANTRNAMT>
Loan transaction amount aggregate, see section 11.3.9
</LOANTRNAMT>
<FITID>
Transaction ID issued by financial institution. Used to detect duplicate
transactions, FITID
<CORRECTFITID>
If present, the FITID of a previously sent transaction that is the transaction that it
corrects, based on the value of <CORRECTACTION>, below, FITID
<CORRECTACTION>
Corrected actions; use one of REPLACE or DELETE. REPLACE replaces the
transaction referenced by CORRECTFITID; DELETE deletes it.
<SRVRTID>
Server assigned transaction ID; used for transactons initiated by client, such as
funds transfer, SRVRTID
<CHECKNUM>
Check (or other reference) number, A-12
<REFNUM>
Reference number that uniquely identifies the transaction. Can be used in
addition to or instead of a <CHECKNUM>, A-32
<NAME>
Name of payee or description of transaction, A-32
<EXTDNAME>
Extended name of payee or description of transaction, A-100
Account-to options. Choose
either <BANKACCTTO> or
<LOANACCTTO>
OFX 2.1.1 Specification 2175/1/06
<BANKACCTTO>
If this was a transfer to a bank account (a cash advance) and the account
infrmation is available, see section 11.3.1
</BANKACCTTO>
-or-
<LOANACCTTO>
If this was a transfer to another loan account (a roll over) and the account
infrmation is available, see section 11.3.7
</LOANACCTTO>
<MEMO>
Extra information (not in <NAME>), A-255
<IMAGEDATA>
Image data aggregate, up to 2 allowed, see Section 3.1.6.1. Contains data for a
loan statement transaction image.
</IMAGEDATA>
Currency options. Choose
either <CURRENCY> or
<ORIGCURRENCY>
<CURRENCY>
Currency, if different from <CURDEF>
</CURRENCY>
-or-
<ORIGCURRENCY>
</ORIGCURRENCY>
</LOANSTMTTRN>
Tag Description
218 11.4 Downloading Transactions and Balances
11.4.5.1 Transaction types used in <LOANTRNTYPE>
Tag Description
PAYMENT Loan Payment - total of principal, interest, escrow
FEE Loan Fee
LATE Late Fee
INT Interest charged, adds to loan balance
ADVANCE Cash advance which adds to Principal Balance
XFER Principal transfer to/from another account, loan or DDA
BALLOON Payment of Balloon amount
OTHER Other
OFX 2.1.1 Specification 2195/1/06
11.4.6 Amortization Schedule Download
A client can request an amortization schedule. The server should respond to the request, and include
amortization transaction data, when available. If the request does not include <DSTART> or <DTEND>,
the server should include a complete amortization.
If the server is unable to compute an amortization schedule adjusted based upon past or projected payment
history, the server should indicate <AMRTTYPE>ORIGINAL.
11.4.6.1 Amortization Request <AMRTSTMTRQ>
The <AMRTSTMTRQ> request must appear within a <AMRTSTMTTRNRQ> wrapper.
Tag Description
<AMRTSTMTRQ>
Amortization statement request aggregate
<LOANACCTFROM>
Account from aggregate, see section 11.3.7
</LOANACCTFROM>
<DTSTART>
Start date for transaction data, date
<DTEND>
End date for transaction data, date
</AMRTSTMTRQ>
11.4.6.2 Amortization Response <AMRTSTMTRS>
The <AMRTSTMTRS> request must appear within a <AMRTSTMTTRNRS> wrapper.
Tag Description
<AMRTSTMTRS>
Amortization statement response aggregate
<CURDEF>
Default currency for the statement, currsymbol
<LOANACCTFROM>
Account from aggregate, see section 11.3.7
</LOANACCTFROM>
<AMRTTRANLIST>
<DTSTART>
Start date for transaction data, date
<DTEND>
End date for transaction data, date
<AMRTSTMTTRN>
Amortization statement aggregate (0 or more), see section 11.4.5
</AMRTSTMTRN>
</AMRTTRANLIST>
<MKTGINFO>
Marketing information (at most 1), A-360
220 11.4 Downloading Transactions and Balances
11.4.6.3 Status Codes
Code Meaning
0 Success
2001 Invalid account (ERROR)
2002 General account error (ERROR)
2003 Account not fouond (ERROR)
2004 Accouont closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
</AMRTSTMTRS>
Tag Description
OFX 2.1.1 Specification 2215/1/06
11.4.6.4 Amortization Statement Transaction <AMRTSTMTTRN>
Tag Description
<AMRTSTMTTRN>
Amortization transaction aggregate
<PMTNUMBER>
Loan payment number, N-3
<LOANINITBAL>
Beginning balance before payment, amount
<PRINBAL>
Principal Balance aggregate - see section 11.3.8.2
Ending balance after payment, includes date of payment
</PRINBAL>
<LOANTRNAMT>
Loan transaction amount aggregate, see section 11.3.9
</LOANTRNAMT>
<LOANIRATE>
Loan interest rate aggregate, see section 11.3.8.4
</LOANIRATE>
<AMRTTYPE>
Amortization type, choose one of:
ORIGINAL = Original amortization
ADJUSTED = Adjusted amortization
PROJECTED = Projected amortization
</AMRTSTMTTRN>
222 11.5 Statement Closing Information
11.5 Statement Closing Information
OFX provides a way for customers to receive closing statement information that typically appears as part
of a paper statement. This information includes opening and closing dates and balances for a statement
period, as well as a detailed breakdown of debits, credits, fees, and interest that are usually part of a paper
statement. In addition to this information, clients receive a date range for transactions that correspond to
the closing statement. Clients might wish to use this date range to retrieve transactions through statement
download in order to present the user with an “electronic” statement.
To request statement information, the client is REQUIRED to designate an account for the download. The
client can also specify a date range to limit the number of closing information aggregates that the server
returns. If the client does not specify a date range, the server returns as many closing information
aggregates as it can.
Image download information can be requested in a statement closing request by including
<INCSTMTIMG>Y, which requests the server to return image data corresponding to closing statements, if
available. The image identification data returned in the <CLOSING>, <CCCLOSING> or
<LOANCLOSING> aggregate will not be the actual image, but will be used to access the image through
subsequent client sessions. See Chapter 15, “Image Download”, for more information on retrieving
images from the server.
Client Sends Server Responds
Account Information
Date range
Cycle-ending information (0 or more)
11.5.1 Statement Closing Download
You can use the <STMTENDRQ> …<STMTENDRS> request and response pair to download statement
closing information for checking, savings, money market, and line of credit accounts. Section
11.5.3
describes download for credit card accounts.
11.5.1.1 Request <STMTENDRQ>
The <STMTENDRQ> request must appear within a <STMTENDTRNRQ> transaction wrapper.
Tag Description
<STMTENDRQ>
Closing-statement-request aggregate
<BANKACCTFROM>
Bank-account-from aggregate
</BANKACCTFROM>
OFX 2.1.1 Specification 2235/1/06
11.5.1.2 Response <STMTENDRS>
The <STMTENDRS> response must appear within a <STMTENDTRNRS> transaction wrapper.
Tag Description
<STMTENDRS>
Closing-statement-response aggregate
<CURDEF>
Default currency used for closing information, currsymbol
<BANKACCTFROM>
Account from aggregate, see section 11.3.1
</BANKACCTFROM>
<CLOSING>
Statement information (0 or more), see section 11.5.2
</CLOSING>
</STMTENDRS>
<DTSTART>
Start date for statement closing information, datetime
<DTEND>
End date of statement closing information, datetime
<INCSTMTIMG>
Include data for closing statement images, Boolean
</STMTENDRQ>
Tag Description
224 11.5 Statement Closing Information
11.5.1.3 Status Codes
Code Meaning
0 Success
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
11.5.2 Non-Credit Card Statement <CLOSING>
A checking, savings, or money market account uses the <CLOSING> aggregate to describe statement
closing information.
The <FITID> provides a way for the client to distinguish one closing statement from another.
For each <CLOSING> aggregate returned, clients can retrieve corresponding transactions by using
<DTPOSTSTART> and <DTPOSTEND> as <DTSTART> and <DTEND> in a <STMTRQ> request.
Tag Description
<CLOSING>
Non-credit-card-account-types aggregate
<FITID>
Unique identifier for this statement, FITID
<DTOPEN>
Opening statement date, date
<DTCLOSE>
Closing statement date, date
<DTNEXT>
Closing date of next statement, date
<BALOPEN>
Opening statement balance, amount
<BALCLOSE>
Closing statement balance, amount
<BALMIN>
Minimum balance in statement period, amount
<DEPANDCREDIT>
Total of deposits and credits, including interest, amount
<CHKANDDEB>
Total of checks and debits, including fees, amount
<TOTALFEES>
Total of all fees, amount
OFX 2.1.1 Specification 2255/1/06
11.5.3 Credit Card Statement Closing Request <CCSTMTENDRQ>
The credit card statement closing request is semantically identical to the bank statement closing request.
However, the <CCSTMTENDRQ> aggregate contains the credit card request, not the <STMTENDRQ>
aggregate.
The <CCSTMTENDRQ> request must appear within a <CCSTMTENDTRNRQ> transaction wrapper.
Tag Description
<CCSTMTENDRQ>
Credit-card-closing-statement-request aggregate
<CCACCTFROM>
Credit-card-account-from aggregate
</CCACCTFROM>
<DTSTART>
Start date for statement closing information, datetime
<DTEND>
End date of statement closing information, datetime
<INCSTMTIMG>
Include data for closing statement images, Boolean
</CCSTMTENDRQ>
<TOTALINT>
Total of all interest, amount
<DTPOSTSTART>
Start date of transaction data for this statement, date
A client should be able to use this date in a <STMTRQ> to request transactions
that match this statement.
<DTPOSTEND>
End date of transaction data for this statement, date
A client should be able to use this date in a <STMTRQ> to request transactions
that match this statement.
<MKTGINFO>
Marketing information (at most 1), A-360
<IMAGEDATA>
</IMAGEDATA>
Image data aggregate, see section 3.1.6.1
Currency options. Choose
either <CURRENCY> or
<ORIGCURRENCY>
<CURRENCY>
</CURRENCY>
-or-
Currency, if different from CURDEF, see section 5.2.
<ORIGCURRENCY>
</ORIGCURRENCY>
</CLOSING>
Tag Description
226 11.5 Statement Closing Information
11.5.4 Credit Card Statement Closing Response <CCSTMTENDRS>
The credit card statement closing response is semantically identical to the bank statement closing response.
However, the <CCSTMTENDRS> aggregate contains the credit card response, not the <STMTENDRS>
aggregate.
The <CCSTMTENDRS> response must appear within a <CCSTMTENDTRNRS> transaction wrapper.
Tag Description
<CCSTMTENDRS>
Credit-card-closing-statement-response aggregate
<CURDEF>
Default currency for closing information, currsymbol
<CCACCTFROM>
Account from aggregate, see section 11.3.2
</CCACCTFROM>
<CCCLOSING>
Statement information (0 or more). See section 11.5.4.2
</CCCLOSING>
</CCSTMTENDRS>
11.5.4.1 Status Codes
Code Meaning
0 Success
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
11.5.4.2 Credit Card Statement <CCCLOSING>
A credit card account uses the <CCCLOSING> aggregate to describe statement closing information.
The <FITID> provides a way for the client to distinguish one closing statement from another.
OFX 2.1.1 Specification 2275/1/06
For each <CCCLOSING> returned, clients should be able to retrieve corresponding transactions by using
<DTPOSTSTART> and <DTPOSTEND> as <DTSTART> and <DTEND> in a <CCSTMTRQ> request.
Tag Description
<CCCLOSING>
Credit-card-statement-information aggregate
<FITID>
Unique identifier for this statement, FITID
<DTOPEN>
Opening statement date, date
<DTCLOSE>
Closing statement date, date
<DTNEXT>
Closing date of next statement, date
<BALOPEN>
Opening statement balance, amount
<BALCLOSE>
Closing statement balance, amount
<DTPMTDUE>
Payment due date, date
<MINPMTDUE>
Minimum amount due, amount
<FINCHG>
Finance charges, amount
<PAYANDCREDIT>
Total of payments and credits, amount
<PURANDADV>
Total of purchases and cash advances, amount
<DEBADJ>
Debit adjustments, amount
<CREDITLIMIT>
Current credit limit, amount
<DTPOSTSTART>
Start date of transaction data for this statement, date
A client should be able to use this date in a <CCSTMTRQ> to request
transactions that match this statement.
<DTPOSTEND>
End date of transaction data for this statement, date
A client should be able to use this date in a <CCSTMTRQ> to request
transactions that match this statement.
<MKTGINFO>
Marketing information (at most 1), A-360
<IMAGEDATA>
</IMAGEDATA>
Image data aggregate, see section 3.1.6.1
Currency options. Choose
either <CURRENCY> or
<ORIGCURRENCY>.
<CURRENCY>
</CURRENCY>
-or-
Currency, if different from CURDEF, see section 5.2.
<ORIGCURRENCY>
</ORIGCURRENCY>
228 11.5 Statement Closing Information
</CCCLOSING>
Tag Description
OFX 2.1.1 Specification 2295/1/06
11.5.5 Loan Statement End Request <LOANSTMTENDRQ>
The loan statement closing request is semantically identical to the bank and credit card statement
closing requests. However, the <LOANSTMTENDTRNRQ> aggregate contains the loan
request, not the <STMTENDRQ> or <CCSTMTENRQ> aggregate.
The <LOANSTMTENDRQ> request must appear within a <LOANSTMTENDTRNQ>
transaction wrapper.
Tag Description
<LOANSTMTENDRQ>
Loan-dosing-statement-request aggregate
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<DTSTART>
Start date for statement closing information, datetime
<DTEND>
End date of statement closing information, datetime
<INCSTMTIMG>
Include data for closing mages, Boolean
</LOANSTMTENDRQ>
11.5.6 Loan Statement End Response <LOANSTMTENDRS>
The loan statement closing response is semantically identical to the bank and credit card statement closing
response. However, the <LOANSTMTENDRS> aggregate contains the loan response, not the
<STMTENDRS> or <CCSTMTENDRS> aggregate.
The <LOANSTMTENDRS> response must appear within a <LOANSTMTENDTRNRS> transaction
wrapper.
Tag Description
<LOANSTMTENDRS>
Loan-closing-statement-response aggregate
<CURDEF>
Default currency for closing
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<LOANCLOSING>
Statement information (0 or more). See section 11.5.8
</LOANCLOSING>
</LOANSTMTENDRS>
230 11.5 Statement Closing Information
11.5.7 Status Codes
Code Meaning
0 Success
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Accouont not found (ERROR)
2004 Account closed (ERROR)
2005 Accouont not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
OFX 2.1.1 Specification 2315/1/06
11.5.8 Loan Closing <LOANCLOSING>
A loan account uses the <LOANCLOSING> aggregate to describe statement closing information. The
<FITID> provides a way for the client to distinguish one closing statement from another. <DTSTART>
and <DTEND> should be interpreted by clients and servers as described in Chapter 3.
For each <LOANCLOSING> returned, clients should be able to retrieve corresponding transactions by
using <DTPOSTSTART> and <DTPOSTEND> as <DTSTART> and <DTEND> in a <LOANSTMTRQ>
request.
Tag Description
<LOANCLOSING>
Loan-statement-information aggregate
<FITID>
Unique identifier for this statement, FITID
<DTOPEN>
Opening statement date, date
<DTCLOSE>
Closing statement date, date
<DTNEXT>
Closing date of next statement, date
<BALOPEN>
Opening statement principal balance, amount
<PRINBAL>
Current Principal Balance aggregate - see 11.3.8.2
</PRINBAL>
<LOANINT>
Loan interest aggregate - see section 11.3.8.3
</LOANINT>
<LOANIRATE>
Current interest rate aggregate - see section 11.3.8.4
</LOANIRATE>
<ESTPAYOFF>
Estimated payoff balance aggregate, see section 11.5.8.1
</ESTPAYOFF>
<BALLOONAMT>
Not included or zero for regular loans, otherwise balloon payment amount,
amount
<LOANPMT>
Loan Payment aggregate - see section 11.3.8.5
</LOANPMT>
<LOANRMNPMTS>
Remaining number of loan payments, N-5
<BALLIST>
List of miscellaneous other balances
<BAL>
Balance aggregates (0 or more), see section 3.1.4
</BAL>
</BALLIST>
<ESCRWBAL>
Escrow balance aggregate, see section 11.5.8.2.
232 11.5 Statement Closing Information
</ESCRWBAL>
<DTPOSTSTART>
Start date of transaction data for this statement, date
A client should be able to use this date in a <LOANSTMTRQ> to request
transactions that match this statement.
<DTPOSTEND>
End date of transaction data for this statement, date
A client should be able to use this date in a <LOANSTMTRQ> to request
transactions that match this statement.
<MKTGINFO>
Marketing information (at most 1), A-360
<IMAGEDATA>
Image data aggregate, see section 3.1.6.1
</IMAGEDATA>
Currency options. Choose
either <CURRENCY> or
<ORIGCURRENCY>.
<CURRENCY>
Currency, if different from CURDEF
</CURRENCY>
-or-
<ORIGCURRENCY>
</ORIGCURRENCY>
</LOANCLOSING>
Tag Description
OFX 2.1.1 Specification 2335/1/06
11.5.8.1 Estimated Payoff Balance <ESTPAYOFF>
Tag Description
<ESTPAYOFF>
<ESTPAYOFFBAL>
Estimated Payoff amount, amount
<DTASOF>
Payoff date, datetime
</ESTPAYOFF>
11.5.8.2 Escrow Balance <ESCRWBAL>
Tag Description
<ESCRWBAL>
<BALAMT>
Total amount held in escrow, amount
<ESCRWTAXBAL>
Balance of taxes held in escrow, amount
<ESCRWINSBAL>
Balance of insurance held in escrow, amount
<ESCRWPMIBAL>
Balance of PMI held in escrow, amount
<ESCRWFEESBAL>
Balance of fees held in escrow, amount
<ESCRWOTHERBAL>
Balance of other amount held in escrow, amount
<DTASOF>
Date of escrow balance, datetime
</ESCRWBAL>
The amount of ESCRWTAXBAL + ESCRWINSBAL + ESCRWPMIBAL + ESCRWFEESBAL +
ESCRWOTHERBAL should normally equal BALAMT. However, if values do not compute, client should
roll remainder into <ESCRWOTHERBAL>.
234 11.6 Stop Check
11.6 Stop Check
OFX supports a request to issue a stop payment for one or more outstanding checks. The stop request can
be for a single check or for a range of checks. There must be one request for each check or range of checks
the user wants to stop.
When stopping a single check, the client can provide a payee name and optionally an amount instead of a
check number to describe the check to stop. Not all servers can support this behavior.
Examples:
Stop check 22 – one request
Stop check to “Acme Lighting” – one request
Stop checks 200-224 – one request
Stop checks 275-280, 283 – two requests (first stops 275-280, the next stops 283)
Client Sends Server Responds
Account information
Check number(s) to stop
-or-
Check description
Status for each check
OFX 2.1.1 Specification 2355/1/06
11.6.1 Stop Check Add
Stop Check Add is subject to synchronization.
11.6.1.1 Request <STPCHKRQ>
The <STPCHKRQ> request must appear within a <STPCHKTRNRQ> transaction wrapper.
Tag Description
<STPCHKRQ>
Stop-check-request aggregate
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
Check options. Choose
either<CHKRANGE> or
<CHKDESC>.
<CHKRANGE>
Check range aggregate, see section 11.6.1.1.1
</CHKRANGE>
-or-
<CHKDESC>
Check description aggregate, see section 11.6.1.1.2
</CHKDESC>
</STPCHKRQ>
11.6.1.1.1 Check Range <CHKRANGE>
Tag Description
<CHKRANGE>
Check-range aggregate
<CHKNUMSTART>
Start check number to cancel, A-12
<CHKNUMEND>
Ending check number to cancel; omit if only one check is to be stopped, A-
12
</CHKRANGE>
236 11.6 Stop Check
11.6.1.1.2 Check Description <CHKDESC>
A check description must include a payee name or description. It can also include a check number, the date
the user wrote the check, and a transaction amount.
Tag Description
<CHKDESC>
Check description aggregate
<NAME>
Payee name or description, A-32
<CHECKNUM>
Check number, A-12
<DTUSER>
Date on check, datetime
<TRNAMT>
Amount, amount
</CHKDESC>
11.6.1.2 Response <STPCHKRS>
Consistent with all responses, the stop check response contains a global status that describes whether the
response could be delivered. If the server provides a response, it returns a <STPCHKNUM> aggregate for
each check for which the client requested a stop payment. Status code 10000 should be returned if the stop
check request is in process; a subsequent synchronization should obtain an updated response with a final
status.
The <STPCHKRS> response must appear within a <STPCHKTRNRS> transaction wrapper.
Tag Description
<STPCHKRS>
Stop-check-response aggregate
<CURDEF>
Default currency for stop check response, currsymbol
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
<STPCHKNUM>
Stopped check aggregate (1 or more), see section 11.6.1.2.1
</STPCHKNUM>
<FEE>
Fee for stop check, amount
<FEEMSG>
Description of fee, A-80
</STPCHKRS>
OFX 2.1.1 Specification 2375/1/06
11.6.1.2.1 Stopped Check <STPCHKNUM>
This aggregate contains a status code that indicates whether or not a specific check was canceled.
Tag Description
<STPCHKNUM>
Stopped-check-item aggregate
<CHECKNUM>
Check number, A-12
<NAME>
Payee name or description, A-32
<DTUSER>
Date on check, datetime
<TRNAMT>
Amount, amount
<CHKSTATUS>
Status code for individual stop check request
0 = OK
1 = rejected
100 = check not found
101 = check already posted
<CHKERROR>
Further textual explanation, A-255
Currency options. Choose
either <CURRENCY> or
<ORIGCURRENCY
>.
<CURRENCY>
</CURRENCY>
-or-
Currency, if different from CURDEF, see section 5.2.
<ORIGCURRENCY>
</ORIGCURRENCY>
</STPCHKNUM>
238 11.6 Stop Check
11.6.2 Status Codes
Code Meaning
0 Success
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
10000 Stop check in process (INFO)
10500 Too many checks to process (ERROR)
OFX 2.1.1 Specification 2395/1/06
11.7 Intrabank Funds Transfer
OFX supports transferring funds between two accounts at the same financial institution. Funds transfers in
OFX can be immediate or scheduled. Scheduled transfers can repeat at specified intervals.
Financial institutions can choose to support:
Immediate transfers
Immediate and scheduled transfers
Immediate, scheduled, and recurring transfers
Recurring transfers require support for scheduled transfers.
In general, an OFX server may not choose which transactions to support unless the profile can be used to
indicate to the client that a transaction is not supported. However, immediate intrabank funds transfers
usually cannot be modified or canceled, so a server that does not support scheduled transfers may return an
error code on any request for cancel or modify. A preferred approach would be to return status code 2016,
which means the transfer may not be modified or canceled because it is already committed. (An immediate
transfer may not actually commit until the end of the business day. For more information, see the
discussion on the support of INTRASYNCRQ in section
11.12.2.)
After a transfer has executed, the server can either issue a transfer modification response in the sync or it
can do nothing. In the latter case, it would be up to the client to get status from a statement download. If a
transfer fails, it is recommended, but not required, that a transfer modification response with the
appropriate XFERPRCCODE be sent in the sync.
In general, all Intrabank Funds Transfer requests are subject to synchronization. The only exception occurs
when the request is for an immediate transfer and the server is able to successfully perform the transfer in
real time. In that case, the server may choose whether or not the transfer affects the sync history. After
receiving an immediate response indicating that a transfer took place in real time, the client must not
expect the relevant token to change or to receive information about that transfer in a later sync response.
Servers choosing to ignore real time immediate transfers in the sync history force additional clients to wait
until the transfer appears in a statement download for information about the transfer. Note that a server that
does not implement file based error recovery should include immediate transfers in the sync history since
error recovery attempts will be token-based rather than file based.
Note: If a server batches up immediate transfers, to be processed that night or possibly the next day, it
should return a <WILLPROCESSON> status in the immediate transfer response. At that point it is up to
the server whether or not to send the <INTRARS> in the sync before the transfer actually occurs. It should
be noted that servers that don’t sync such "batched, but not yet transferred" responses prevent other
clients accessing the same account from getting accurate balance information during this time. After the
transfer, the up-to-date balance information can be obtained from either the sync (if the server supports
this) or the statement downloaded.
240 11.7 Intrabank Funds Transfer
11.7.1 Intrabank Funds Transfer Addition
The Intrabank Funds Transfer Add request provides a way for a client to set up a single transfer. The
request designates source and destination accounts and the amount of the transfer. The client must provide
a date if it has scheduled the transfer. Immediate funds transfers cannot be modified or canceled.
Client Sends Server Responds
Source account
Destination account
Amount
Date of transfer (optional)
Server ID for the transfer
Source account
Destination account
Amount
Expected/actual posting date
Intrabank Funds Transfer Add is subject to synchronization.
11.7.1.1 Request <INTRARQ>
The <INTRARQ> request must appear within an <INTRATRNRQ> transaction wrapper.
Tag Description
<INTRARQ>
Intrabank-transfer-request aggregate
<XFERINFO>
Transfer information aggregate, see section 11.3.5
</XFERINFO>
</INTRARQ>
11.7.1.2 Response <INTRARS>
A server cannot, in all cases, provide complete confirmation for the transfer. The server can confirm only
that it received the transfer instruction; and possibly whether it validated the accounts, amount, and date
specified in the transfer. For any transfer where the client does not know the status at the time of the
response, a server should confirm that it accepted the instruction and indicate the expected posting date of
the transfer. A client can pick up the confirmation at a later date through a synchronization request. Servers
should inform clients of any errors found while processing this transaction using the <STATUS>
aggregate. A response containing <STATUS><CODE>0 and
OFX 2.1.1 Specification 2415/1/06
<XFERPRCSTS><XFERPRCCODE>FAILEDON should be avoided for problems such as an invalid
account or amount.
If the request is for an immediate transfer and the server can perform the transfer in real time, the server
should indicate whether the transfer succeeded and should return the date of the transfer in
<DTPOSTED>. In this case, synchronization is not required.
The <INTRARS> response must appear within an <INTRATRNRS> transaction wrapper.
Tag Description
<INTRARS>
Intrabank-transfer-response aggregate
<CURDEF>
Default currency for the intrabank transfer response, currsymbol
<SRVRTID>
Server ID for this transfer, SRVRTID
<XFERINFO>
Transfer information aggregate, see section 11.3.5
</XFERINFO>
Transfer-date options.
Choose either
<DTXFERPRJ> or
<DTPOSTED>
<DTXFERPRJ>
Projected date of the transfer; response can contain either a <DTXFERPRJ> or a
<DTPOSTED> but not both; datetime
-or-
<DTPOSTED>
Actual date of the transfer, datetime
<RECSRVRTID>
If the response is generated by a recurring transfer model, this ID references it, see
section 11.10, SRVRTID
<XFERPRCSTS>
Transfer-processing status, see section 11.3.6
</XFERPRCSTS>
</INTRARS>
Note: The server can deliver this response to a client immediately after the request is made
(for an immediate or one-time scheduled transfer). The server should also return this response
for any transfers that were generated by a model.
242 11.7 Intrabank Funds Transfer
11.7.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10504 Insufficient funds (ERROR)
OFX 2.1.1 Specification 2435/1/06
11.7.2 Intrabank Funds Transfer Modification
The client sends a Transfer Modification request to modify a scheduled transfer. Immediate transfers
cannot be modified, so this request should only be used for scheduled transfers. Once created and retrieved
by the customer, spawned transfers are almost identical to customer-created transfers. (The exception is
when a spawned transfer is modified or cancelled due to a recurring modification or cancellation request.)
As with ordinary transfers, you can cancel or modify transactions individually. When modifying a transfer,
the client must specify all of the elements and aggregates within the <XFERINFO> aggregate that were
specified when the transfer was created, not just the elements and aggregates that the client wants to
modify. <SRVRTID> specifies the transfer the user wants to modify. Some servers cannot support the
modification of certain values. Servers must indicate this by returning status code 10505 when the client
requests an unsupported modification. Clients must not change <BANKACCTFROM> or
<CCACCTFROM> in a funds transfer modification.
Intrabank Funds Transfer Modification is subject to synchronization.
11.7.2.1 Request <INTRAMODRQ>
The <INTRAMODRQ> request must appear within an <INTRATRNRQ> transaction wrapper.
Tag Description
<INTRAMODRQ>
Modification-request aggregate
<SRVRTID>
ID assigned by the server to the transfer being modified, SRVRTID
<XFERINFO>
Transfer information aggregate, see section 11.3.5
</XFERINFO>
</INTRAMODRQ>
244 11.7 Intrabank Funds Transfer
11.7.2.2 Response <INTRAMODRS>
This response normally just echoes the values passed by the client. However, if the status of a scheduled
transfer changes in any way, clients may expect to receive modification responses when they synchronize
with the server. For example, when a server completes a transfer, the status of the transfer goes from
pending to posted. Servers may notify clients of this status change if they wish.
The <INTRAMODRS> response must appear within an <INTRATRNRS> transaction wrapper.
Tag Description
<INTRAMODRS>
Modification-response aggregate
<SRVRTID>
ID assigned by the server to the transfer being modified, SRVRTID
<XFERINFO>
Transfer information aggregate, see section 11.3.5
</XFERINFO>
<XFERPRCSTS>
Transfer processing status, see section 11.3.6
</XFERPRCSTS>
</INTRAMODRS>
OFX 2.1.1 Specification 2455/1/06
11.7.2.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10500 Too many checks to process (ERROR)
10505 Cannot modify element (ERROR)
10514 Transaction already processed (ERROR)
246 11.7 Intrabank Funds Transfer
11.7.3 Intrabank Funds Transfer Cancellation
The client sends a Transfer Cancellation request to cancel a scheduled transfer, where <SRVRTID>
identifies the transfer. Immediate transfers cannot be canceled, so this request should be used only for
scheduled transfers.
Intrabank Funds Transfer Cancellation is subject to synchronization.
11.7.3.1 Request <INTRACANRQ>
The <INTRACANRQ> request must appear within an <INTRATRNRQ> transaction wrapper.
Tag Description
<INTRACANRQ>
Transfer-cancellation-request aggregate
<SRVRTID>
ID of the transfer the user wants to cancel. The server must have previously
assigned this ID to a transfer. SRVRTID
</INTRACANRQ>
11.7.3.2 Response <INTRACANRS>
The <INTRACANRS> response must appear within an <INTRATRNRS> transaction wrapper.
Tag Description
<INTRACANRS>
Transfer-cancellation-response aggregate
<SRVRTID>
ID of the transfer the user wants to cancel. The server must have previously
assigned this ID to a transfer. SRVRTID
</INTRACANRS>
OFX 2.1.1 Specification 2475/1/06
11.7.3.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10514 Transaction already processed (ERROR)
11.7.3.4 DTDUE, DTPOSTED, and DTXFERPRJ in Immediate Transfers
The following is a list of what might be returned in an immediate mode transfer response. The
interpretation of each response is provided. All responses referenced in this section are immediate and
describe success conditions. That is, we are not attempting to describe the INTRARS aggregates that may
be returned within a INTRASYNCRS response. Further, successful INTRARS aggregates for immediate
transfers are not expected to appear in lite synchronization INTRASYNCRS responses.
DTDUE and INTRARQ
DTDUE should not be present if the client is requesting an immediate mode transfer. If it is, then this is a client
error, and will be treated by the server as if the client were attempting to create a scheduled transfer.
DTDUE, DTPOSTED, and DTXFERPRJ NOT returned in INTRARS
The client should interpret this from the server as indicating that the immediate transfer request was processed in
real-time.
DTDUE only returned
DTDUE should not be present in the response to a request for an immediate transfer. If it were present, the
XFERINFO aggregate would not match that found in the request.
DTPOSTED only returned
If this is not equal to today’s date and an earlier time than “now”, then this is a server error. Otherwise, the client
should interpret this as confirmation from the server that the request was processed in real-time.
DTXFERPRJ only returned
The client should interpret this as indication that the transfer request will be completed by the specified date. The
client may receive an INTRAMODRS or INTRARS with updated information about this transfer when it is
actually processed. That future INTRARS or INTRAMODRS will contain the DTPOSTED to reflect when the
transfer occurred. This response is not required for successful transfers processed at the originally specified
projected date and time.
248 11.8 Interbank Funds Transfer
11.8 Interbank Funds Transfer
The Interbank Funds Transfer Add request provides a way for a client to set up a single transfer between
accounts at different financial institutions. Like intrabank funds transfers, the request designates source
and destination accounts and the amount of the transfer. Also, as in intrabank funds transfers, the FI must
be able to authenticate the source account. However, interbank funds transfers differ from intrabank funds
transfers in the following respects:
The routing and transit number of the destination account differs from the source account.
At the discretion of an FI, the destination account can be subject to pre-notification.
Source and destination accounts must be enabled for the Automated Clearing House (ACH).
Use the ACH system to implement the Interbank Funds Transfer, which is subject to the rules and
regulations governing the ACH network.
In all other respects, interbank funds transfers function like intrabank funds transfers. The user can
schedule them for a future date or request an immediate transfer. The user can modify or cancel scheduled
transfers, but not immediate transfers. Scheduled transfers can recur at regular intervals.
11.8.1 Interbank Funds Transfer – US
In the United States, interbank funds transfers usually use only the <XFERINFO> portion of the request
and response.
Client Sends Server Responds
Source account
Destination account
Amount
Date of transfer (optional)
Server ID for the transfer
Source account
Destination account
Amount
Expected/actual posting
date
Interbank Funds Transfer Add is subject to synchronization.
OFX 2.1.1 Specification 2495/1/06
11.8.2 Interbank Funds Transfer – International Usage
In countries where the funds transfer is the basis of the payments system, the OFX payments messages
allow specifying payees by destination account (see
Chapter 12, "Payments").
Interbank Funds Transfer Add is subject to synchronization.
11.8.2.1 Interbank Funds Transfer Request <INTERRQ>
The <INTERRQ> request must appear within an <INTERTRNRQ> transaction wrapper.
Tag Description
<INTERRQ>
Interbank-transfer-request aggregate
<XFERINFO>
Transfer information aggregate, see section 11.3.5
</XFERINFO>
</INTERRQ>
250 11.8 Interbank Funds Transfer
11.8.2.2 Interbank Funds Transfer Response <INTERRS>
The server cannot provide complete confirmation for interbank transfer. It can confirm only that the FI
received the transfer instruction and possibly validated the source account, amount, and date specified in
the transfer. Since the client does not know the status of the transfer at the time of the response, the server
should confirm that it accepted the instruction and indicate the expected posting date of the transfer. The
client can pick up the confirmation at a later date through a synchronization request. Servers should inform
clients of any errors found while processing this transaction using the <STATUS> aggregate. A response
containing <STATUS><CODE>0 and <XFERPRCSTS><XFERPRCCODE>FAILEDON should be
avoided for problems such as an invalid account or amount.
The <INTERRS> response must appear within an <INTERTRNRS> transaction wrapper.
Tag Description
<INTERRS>
Interbank-transfer-response aggregate
<CURDEF>
Currency used in transfer, currsymbol
<SRVRTID>
Server ID for this transfer, SRVRTID
<XFERINFO>
Transfer information aggregate, see section 11.3.5
</XFERINFO>
Transfer-date options.
Choose either
<DTXFERPRJ> or
<DTPOSTED>
<DTXFERPRJ>
Projected date of the transfer; response can contain either a <DTXFERPRJ> or a
<DTPOSTED> but not both;
datetime
-or-
<DTPOSTED>
Actual date of the transfer, datetime
<REFNUM>
Server can generate a reference or check for the transfer, A-32
<RECSRVRTID>
If server generates the response by a recurring transfer model, this ID references it.
SRVRTID
<XFERPRCSTS>
Transfer-processing status, see section 11.3.6
</XFERPRCSTS>
</INTERRS>
Note: A server can deliver this response to a client immediately after the client makes the
request (for an immediate or one-time scheduled transfer). In response to a synchronization
request by a client, the server should provide a second response containing complete status
regarding the transfer. It should also return any transfers that it generates by a model.
OFX 2.1.1 Specification 2515/1/06
11.8.2.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10504 Insufficient funds (ERROR)
252 11.8 Interbank Funds Transfer
11.8.3 Interbank Funds Transfer Modification
The client sends a Transfer Modification request to modify a scheduled transfer. Immediate transfers
cannot be modified, so this request should only be used for scheduled transfers. Once created and retrieved
by the customer, spawned transfers are almost identical to customer-created transfers. (The exception is
when a spawned transfer is modified or cancelled due to a recurring modification or cancellation request.)
As with ordinary transfers, you can cancel or modify transactions individually. When modifying a transfer,
the client must specify all of the elements and aggregates within the <XFERINFO> aggregate that were
specified when the transfer was created, not just the elements and aggregates that the client wants to
modify. <SRVRTID> specifies which transfer to modify. Some servers cannot support the modification of
certain values. Servers must indicate this by returning status code 10505 when the client requests an
unsupported modification. Clients must not change <BANKACCTFROM> or <CCACCTFROM> in a
funds transfer modification.
Interbank Funds Transfer Modification is subject to synchronization.
11.8.3.1 Request <INTERMODRQ>
The <INTERMODRQ> request must appear within an <INTERTRNRQ> transaction wrapper.
Tag Description
<INTERMODRQ>
Modification-request aggregate
<SRVRTID>
ID assigned by the server to the transfer being modified, SRVRTID
<XFERINFO>
Transfer information aggregate, see section 11.3.5
</XFERINFO>
</INTERMODRQ>
OFX 2.1.1 Specification 2535/1/06
11.8.3.2 Response <INTERMODRS>
The <INTERMODRS> response must appear within an <INTERTRNRS> transaction wrapper.
Tag Description
<INTERMODRS>
Modification-response aggregate
<SRVRTID>
ID assigned by the server to the transfer being modified, SRVRTID
<XFERINFO>
Transfer information aggregate; server returns if client provided an <XFERINFO>
in the request, see section 11.3.5
</XFERINFO>
<XFERPRCSTS>
Processing status for transfer, see section 11.3.6
</XFERPRCSTS>
</INTERMODRS>
254 11.8 Interbank Funds Transfer
11.8.3.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10504 Insufficient funds (ERROR)
10505 Cannot modify element (ERROR)
10514 Transaction already processed (ERROR)
OFX 2.1.1 Specification 2555/1/06
11.8.4 Interbank Funds Transfer Cancellation
The client sends a Transfer Cancellation request to cancel a scheduled interbank transfer, where
<SRVRTID> identifies the transfer. Immediate transfers cannot be canceled, so this request should only be
used for scheduled transfers.
Interbank Funds Transfer Cancellation is subject to synchronization.
11.8.4.1 Request <INTERCANRQ>
The <INTERCANRQ> request must appear within an <INTERTRNRQ> transaction wrapper.
Tag Description
<INTERCANRQ>
Transfer-cancellation-request aggregate
<SRVRTID>
ID of the transfer to cancel. The server must have previously assigned
this ID to a transfer. SRVRTID
</INTERCANRQ>
11.8.4.2 Response <INTERCANRS>
The <INTERCANRS> response must appear within an <INTERTRNRS> transaction wrapper.
Tag Description
<INTERCANRS>
Transfer-cancellation-response aggregate
<SRVRTID>
ID of the transfer to cancel. The server must have previously assigned
this ID to a transfer. SRVRTID
</INTERCANRS>
256 11.8 Interbank Funds Transfer
11.8.4.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
10514 Transaction already processed (ERROR)
OFX 2.1.1 Specification 2575/1/06
11.9 Wire Funds Transfer
OFX enables clients to set up wire funds transfers. Wire funds transfers are similar to other types of funds
transfers. Clients designate a source account that the FI can authenticate and a destination account at the
same or a different institution. Clients also designate an amount and an optional date.
The FI must know the originator of the transfer. The beneficiary of the transfer might be an established
customer at the same institution.
OFX implements wire funds transfers using the FedWire system, and is subject to its rules and regulations.
In almost all respects, wire funds transfers work like interbank funds transfers. A user can schedule and
cancel them. Unlike interbank funds transfers, a user cannot modify Wire funds transfers once they have
been set up. A user cannot set up wire funds transfers to recur at regular intervals.
Client Sends Server Responds
Source account
Originator
Receiver
Amount
Date of transfer (optional)
Server ID for the transfer
Originator
Receiver
Amount
Expected/actual posting
date
258 11.9 Wire Funds Transfer
11.9.1 Wire Funds Transfer Addition
Wire Funds Transfer Add is subject to synchronization.
11.9.1.1 Request <WIRERQ>
The client prepares a <BANKACCTFROM> aggregate to describe the source account. The
<WIREBENEFICIARY> aggregate specifies the destination account. The <WIREDESTBANK>
aggregate describes the beneficiary’s bank.
The <WIRERQ> request must appear within a <WIRETRNRQ> transaction wrapper.
Tag Description
<WIRERQ>
Wire-transfer-request aggregate
<BANKACCTFROM>
Source of funds, see section 11.3.1
</BANKACCTFROM>
<WIREBENEFICIARY>
Wire transfer beneficiary, see section 11.9.1.1.1
</WIREBENEFICIARY>
<WIREDESTBANK>
Beneficiary’s bank
<EXTBANKDESC>
Extended bank description, see section 11.9.1.1.2
</EXTBANKDESC>
</WIREDESTBANK>
<TRNAMT>
Transfer amount, amount
<DTDUE>
Date to occur, datetime
<PAYINSTRUCT>
Payment instructions, A-255
</WIRERQ>
OFX 2.1.1 Specification 2595/1/06
11.9.1.1.1 Wire Beneficiary Aggregate <WIREBENEFICIARY>
The wire beneficiary aggregate describes the receiver of a wire transfer.
Tag Description
<WIREBENEFICIARY>
Wire-beneficiary aggregate
<NAME>
Name of beneficiary, A-32
<BANKACCTTO>
Bank details for beneficiary, see section 11.3.1
</BANKACCTTO>
<MEMO>
Information for the beneficiary, memo
</WIREBENEFICIARY>
11.9.1.1.2 Extended Bank Description aggregate <EXTBANKDESC>
Tag Description
<EXTBANKDESC>
Extended-bank-description aggregate
<NAME>
Abbreviated name of bank, A-32
<BANKID>
Routing: ABA number or S.W.I.F.T. number, A-9
<ADDR1>
Bank’s address line 1, A-32
<ADDR2>
Bank’s address line 2, A-32
<ADDR3>
Bank’s address line 3. Use of <ADDR3> requires the presence of <ADDR2>, A-
32
<CITY>
Bank’s city, A-32
<STATE>
Bank’s state or province, A-5
<POSTALCODE>
Bank’s postal code, A-11
<COUNTRY>
Bank’s country; 3-letter country code from ISO/DIS-3166, A-3
<PHONE>
Bank’s phone number, A-32
</EXTBANKDESC>
260 11.9 Wire Funds Transfer
11.9.1.2 Response <WIRERS>
The server cannot provide complete confirmation for the transfer. It can confirm only that the server
received the transfer instruction and possibly that it validated the source account, amount, and date
specified in the transfer. For any transfer where the client does not know the status at the time of the
response, the server should confirm that it accepted the instruction and indicate the expected posting date
of the transfer. The client can pick up the confirmation at a later date through a synchronization request.
The server can indicate the fee assessed for the transfer by using the <FEE> element in the response. The
server can also include a confirmation message in the response.
The <DTDUE> in a response may have been adjusted by a server. For example, the server may adjust
<DTDUE> to comply with non-processing days. If a client sends a request to make a transfer on July 4 and
July 4 happens to be a non-processing day, the <DTDUE> in the response may be July 4 (because the
server hasn’t adjusted it yet), July 5 (because this server rolls dates forward), or some other date. For this
reason, a client should pay attention to the <DTDUE> in the response.
OFX 2.1.1 Specification 2615/1/06
The <WIRERS> response must appear within a <WIRETRNRS> transaction wrapper.
Tag Description
<WIRERS>
Wire-transfer-response aggregate
<CURDEF>
Currency used in transfer, currsymbol
<SRVRTID>
Server ID for this transfer, SRVRTID
<BANKACCTFROM>
Source of funds, see section 11.3.1
</BANKACCTFROM>
<WIREBENEFICIARY>
Wire transfer beneficiary, see section 11.9.1.1.1
</WIREBENEFICIARY>
<WIREDESTBANK>
Beneficiary’s bank
<EXTBANKDESC>
Extended bank description, see section 11.9.1.1.2
</EXTBANKDESC>
</WIREDESTBANK>
<TRNAMT>
Transfer amount, amount
<DTDUE>
Date to occur, echoed if provided in request, datetime
<PAYINSTRUCT>
Payment instructions, echoed if provided in request, A-255
Transfer-date options. Choose
either <DTXFERPRJ> or
<DTPOSTED>
<DTXFERPRJ>
Projected date of the transfer; response can contain either a <DTXFERPRJ>
or a <DTPOSTED> but not both; datetime
-or-
<DTPOSTED>
Actual date of the transfer, datetime
<FEE>
Fee assessed for the transfer, amount
<CONFMSG>
Confirmation message, A-255
</WIRERS>
262 11.9 Wire Funds Transfer
11.9.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10504 Insufficient funds (ERROR)
10516 Wire beneficiary invalid (ERROR)
11.9.2 Wire Funds Transfer Cancellation
The client sends a Wire Funds Transfer Cancellation Request to cancel a scheduled transfer, where
<SRVRTID> identifies the transfer.
Wire Funds Transfer Cancellation is subject to synchronization.
11.9.2.1 Request <WIRECANRQ>
The <WIRECANRQ> request must appear within a <WIRETRNRQ> transaction wrapper.
Tag Description
<WIRECANRQ>
Wire-transfer-cancellation-request aggregate
<SRVRTID>
ID of the transfer to cancel; server must have previously assigned
this ID to a transfer, SRVRTID
</WIRECANRQ>
OFX 2.1.1 Specification 2635/1/06
11.9.2.2 Response <WIRECANRS>
The <WIRECANRS> response must appear within a <WIRETRNRS> transaction wrapper.
Tag Description
<WIRECANRS>
Wire-transfer-cancellation-response aggregate
<SRVRTID>
ID of the transfer to cancel; server must have previously assigned this ID to a
transfer, SRVRTID
</WIRECANRS>
11.9.2.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-
date <TOKEN> (ERROR)
10514 Transaction already processed (ERROR)
264 11.10 Recurring Funds Transfer
11.10 Recurring Funds Transfer
OFX uses a Recurring Funds Transfer Add request to set up a recurring transfer model. The transfer model
generates transfers according to its schedule. Transfers created by a model and retrieved by a customer can
be modified or canceled without impacting the model.
A user can create recurring funds transfer models to generate two types of scheduled transfers: interbank
and intrabank. You cannot set up recurring wire funds transfers.
For more information on recurring transactions, see Chapter 10, "Recurring Transactions."
11.10.1 Recurring Intrabank Funds Transfer Addition
A Recurring Intrabank Funds Transfer Add request sets up an intrabank funds transfer that repeats at a
specified interval for a specified period of time.
Model-created transfers are retrieved by means of a synchronization request.
Client Sends Server Responds
Source account
Destination account
Amount
Date of first transfer
Frequency
Duration
Server ID for the model
Source account
Destination account
Amount
Date of first transfer
Frequency
Duration
Recurring Intrabank Funds Transfer Add is subject to synchronization.
OFX 2.1.1 Specification 2655/1/06
11.10.1.1 Request <RECINTRARQ>
The <RECINTRARQ> request must appear within a <RECINTRATRNRQ> transaction wrapper.
Tag Description
<RECINTRARQ>
Recurring-transfer-request aggregate
<RECURRINST>
Recurring-instructions aggregate, see section
</RECURRINST>
<INTRARQ>
Intrabank-transfer-request aggregate, see section 11.7.1.1
</INTRARQ>
</RECINTRARQ>
11.10.1.2 Response <RECINTRARS>
The <RECINTRARS> response must appear within a <RECINTRATRNRS> transaction wrapper.
For version 1 of the message set, the <SRVRTID> included in the <INTRARS> should be set to the same
value as the <RECSRVRTID>.
Note: This is the response to the recurring model only. Servers must still generate an
INTRARS for each instance of the recurring transfer.
Tag Description
<RECINTRARS>
Recurring-transfer-response aggregate
<RECSRVRTID>
Server-assigned ID for this model, SRVRTID
<RECURRINST>
Recurring-instructions aggregate
</RECURRINST>
<INTRARS>
Intrabank-transfer-response aggregate, see section 11.7.1.2
</INTRARS>
</RECINTRARS>
266 11.10 Recurring Funds Transfer
11.10.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10508 Invalid frequency (ERROR)
OFX 2.1.1 Specification 2675/1/06
11.10.2 Recurring Intrabank Funds Transfer Modification
The client sends a Recurring Intrabank Funds Transfer Modification request to modify a recurring
intrabank transfer model.
Recurring Intrabank Funds Transfer Modification is subject to synchronization.
Clients must not change <BANKACCTFROM> in a recurring funds transfer modification.
11.10.2.1 Request <RECINTRAMODRQ>
<RECSRVRTID> identifies the model. The client can indicate whether the changes should apply to
pending transfers.
The <RECINTRAMODRQ> request must appear within a <RECINTRATRNRQ> transaction wrapper.
Tag Description
<RECINTRAMODRQ>
Recurring-modification-request aggregate
<RECSRVRTID>
ID assigned by the server to the model being modified, SRVRTID
<RECURRINST>
Recurring-instructions aggregate
</RECURRINST>
<INTRARQ>
Intrabank-transfer-request aggregate, see section 11.7.1.1
</INTRARQ>
<MODPENDING>
Modify pending flag, Boolean
If the client sets this flag, the server must modify pending and future transfers.
</RECINTRAMODRQ>
268 11.10 Recurring Funds Transfer
11.10.2.2 Response <RECINTRAMODRS>
The <RECINTRAMODRS> response must appear within a <RECINTRATRNRS> transaction wrapper.
Tag Description
<RECINTRAMODRS>
Recurring-transfer-modification-request aggregate
<RECSRVRTID>
ID assigned by the server to the model being modified, SRVRTID
<RECURRINST>
Recurring-instructions aggregate
</RECURRINST>
<INTRARS>
Intrabank transfer response aggregate, see section 11.7.1.2
</INTRARS>
<MODPENDING>
Y if client requested that the server modify pending and future transfers. N if the
client did not request that the server modify pending and future transfers.
Boolean
</RECINTRAMODRS>
OFX 2.1.1 Specification 2695/1/06
11.10.2.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10500 Too many checks to process (ERROR)
10505 Cannot modify element (ERROR)
10508 Invalid frequency (ERROR)
10514 Transaction already processed (ERROR)
10518 Unknown model ID (ERROR)
270 11.10 Recurring Funds Transfer
11.10.3 Recurring Intrabank Funds Transfer Cancellation
The client sends a Recurring Intrabank Funds Transfer Cancellation request to cancel a recurring intrabank
transfer model.
Recurring Intrabank Funds Transfer Cancellation is subject to synchronization.
11.10.3.1 Request <RECINTRACANRQ>
<RECSRVRTID> identifies the model the user wants to cancel. The client can indicate whether the cancel
should apply to pending transfers.
The <RECINTRACANRQ> request must appear within a <RECINTRATRNRQ> transaction wrapper.
Tag Description
<RECINTRACANRQ>
Recurring-transfer-cancellation-request aggregate
<RECSRVRTID>
ID assigned by the server to the model being canceled, SRVRTID
<CANPENDING>
Cancel pending flag, Boolean
If Y, server should cancel all pending and unspawned transfers. If N, server should
cancel only the model (and unspawned transfers).
</RECINTRACANRQ>
11.10.3.2 Response <RECINTRACANRS>
The <RECINTRACANRS> response must appear within a <RECINTRATRNRS> transaction wrapper.
Tag Description
<RECINTRACANRS>
Recurring-transfer-cancellation-response aggregate
<RECSRVRTID>
ID assigned by the server to the model being canceled, SRVRTID
<CANPENDING>
Cancel pending flag, Boolean
Y if the client requested that the server cancel all pending and unspawned transfers. N
if the client requested that the server cancel only unspawned transfers.
</RECINTRACANRS>
OFX 2.1.1 Specification 2715/1/06
11.10.3.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2016 Transaction already committed (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
10509 Model already canceled (ERROR)
10514 Transaction already processed (ERROR)
10518 Unknown model ID (ERROR)
11.10.4 Recurring Interbank Funds Transfer Addition
A Recurring Interbank Funds Transfer Add request sets up an interbank funds transfer that repeats at a
specified interval for a specified period of time.
The client retrieves model-created transfers by means of a synchronization request.
Client Sends Server Responds
Source account
Destination account
Amount
Date of first transfer
Frequency
Duration
Server ID for the model
Source account
Destination account
Amount
Date of first transfer
Frequency
Duration
Recurring Interbank Funds Transfer Add is subject to synchronization
272 11.10 Recurring Funds Transfer
11.10.4.1 Request <RECINTERRQ>
The <RECINTERRQ> request must appear within a <RECINTERTRNRQ> transaction wrapper.
Tag Description
<RECINTERRQ>
Recurring-transfer-request aggregate
<RECURRINST>
Recurring-instructions aggregate
</RECURRINST>
<INTERRQ>
Interbank-transfer-request aggregate, see section 11.8.2.1
</INTERRQ>
</RECINTERRQ>
11.10.4.2 Response <RECINTERRS>
The <RECINTERRS> response must appear within a <RECINTERTRNRS> transaction wrapper.
For version 1 of the message set, the <SRVRTID> included in the <INTERRS> should be set to the same
value as the <RECSRVRTID>.
Note: This is the response to the recurring model only. Servers must still generate an
<INTERRS> for each instance of the recurring transfer.
Tag Description
<RECINTERRS>
Recurring-transfer-response aggregate
<RECSRVRTID>
Server-assigned ID for this model, SRVRTID
<RECURRINST>
Recurring-instructions aggregate, see section 10.2
</RECURRINST>
<INTERRS>
Interbank funds transfer response, see section 11.8.2.2
</INTERRS>
</RECINTERRS>
OFX 2.1.1 Specification 2735/1/06
11.10.4.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date <TOKEN>
(ERROR)
10504 Insufficient funds (ERROR)
10508 Invalid frequency (ERROR)
274 11.10 Recurring Funds Transfer
11.10.5 Recurring Interbank Funds Transfer Modification
The client sends a Recurring Interbank Funds Transfer Modification request to modify a recurring
interbank transfer model.
Recurring Interbank Funds Transfer Modification is subject to synchronization.
Clients must not change <BANKACCTFROM> in a recurring funds transfer modification.
11.10.5.1 Request <RECINTERMODRQ>
<RECSRVRTID> identifies the model. The client can indicate whether the changes should apply to
pending transfers.
The <RECINTERMODRQ> request must appear within a <RECINTERTRNRQ> transaction wrapper.
Tag Description
<RECINTERMODRQ>
Recurring-modification-request aggregate
<RECSRVRTID>
ID assigned by the server to the model being modified, SRVRTID
<RECURRINST>
Recurring-instructions aggregate
</RECURRINST>
<INTERRQ>
Interbank-funds-transfer-request aggregate, see section 11.8.2.1.
</INTERRQ>
<MODPENDING>
Modify pending flag
If the client sets this flag, the server must modify pending and future transfers. Boolean
</RECINTERMODRQ>
OFX 2.1.1 Specification 2755/1/06
11.10.5.2 Request <RECINTERMODRS>
The <RECINTERMODRS> response must appear within a <RECINTERTRNRS> transaction wrapper.
Tag Description
<RECINTERMODRS>
Recurring-transfer-modification-response aggregate
<RECSRVRTID>
ID assigned by the server to the model being modified, SRVRTID
<RECURRINST>
Recurring-instructions aggregate
</RECURRINST>
<INTERRS>
Interbank-funds-transfer-response, see section 11.8.2.2
</INTERRS>
<MODPENDING>
Modify pending flag, Boolean
Y if the client requested that the server modify pending and future transfers. N if the
client did not request that the server modify pending and future transfers.
</RECINTERMODRS>
276 11.10 Recurring Funds Transfer
11.10.5.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date <TOKEN>
(ERROR)
10504 Insufficient funds (ERROR)
10505 Cannot modify element (ERROR)
10508 Invalid frequency (ERROR)
10510 Invalid payee ID (ERROR)
10514 Transaction already processed (ERROR)
10518 Unknown model ID (ERROR)
OFX 2.1.1 Specification 2775/1/06
11.10.6 Recurring Interbank Funds Transfer Cancellation
The client sends a Recurring Transfer Cancellation request to cancel a recurring transfer model.
Recurring Transfer Cancellation is subject to synchronization.
11.10.6.1 Request <RECINTERCANRQ>
<RECSRVRTID> identifies the model the client wants to cancel. The client can indicate whether the
cancel should apply to pending transfers.
The <RECINTERCANRQ> request must appear within a <RECINTERTRNRQ> transaction wrapper.
Tag Description
<RECINTERCANRQ>
Recurring-transfer-cancellation-request aggregate
<RECSRVRTID>
ID assigned by the server to the model being canceled, SRVRTID
<CANPENDING>
Cancel pending flag, Boolean
If Y, server should cancel all pending and unspawned transfers. If N, server should
cancel only the model (and unspawned transfers).
</RECINTERCANRQ>
11.10.6.2 Response <RECINTERCANRS>
The <RECINTERCANRS> response must appear within a <RECINTERTRNRS> transaction wrapper.
Tag Description
<RECINTERCANRS>
Recurring-transfer-cancellation-response aggregate
<RECSRVRTID>
ID assigned by the server to the model being canceled, SRVRTID
<CANPENDING>
Cancel pending flag, Boolean
Y if the client requested that the server cancel all pending and unspawned transfers. N
if the client requested that the server cancel only unspawned transfers.
</RECINTERCANRS>
278 11.10 Recurring Funds Transfer
11.10.6.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2016 Transaction already committed (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
10509 Model already canceled (ERROR)
10514 Transaction already processed (ERROR)
10518 Unknown model ID (ERROR)
OFX 2.1.1 Specification 2795/1/06
11.11 E-Mail and Customer Notification
OFX enables customers to contact their FIs when they have questions regarding their accounts. FIs can
also notify their customers of significant events that have occurred regarding their accounts. For example,
notification can occur if a customer writes a check that does not clear due to insufficient funds. The server
prepares the notification and the client picks it up the next time it synchronizes with the server.
11.11.1 Banking E-Mail
OFX currently defines one banking e-mail message that clients can send to an FI. With this message, the
user can prepare a message to the FI regarding one of his accounts. The server acknowledges receipt of the
message. The FI prepares the response that the client picks up when it synchronizes with the server.
Client Sends Server Responds
Addressed message
Bank account information
Acknowledgment
.
.
.
Synchronization request
Response to customer
280 11.11 E-Mail and Customer Notification
11.11.1.1 Request <BANKMAILRQ>
The client must identify to which bank account the customer query is related.
The <BANKMAILRQ> request must appear within a <BANKMAILTRNRQ> transaction wrapper.
Tag Description
<BANKMAILRQ>
Bank-e-mail-request aggregate
Account-from options. Choose
either <BANKACCTFROM>
or <CCACCTFROM>.
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
<MAIL>
To, from, message information, see Chapter 9, "Customer to FI
Communication"
</MAIL>
</BANKMAILRQ>
OFX 2.1.1 Specification 2815/1/06
11.11.1.2 Response <BANKMAILRS>
The <BANKMAILRS> response must appear within a <BANKMAILTRNRS> transaction wrapper.
Tag Description
<BANKMAILRS>
Bank-e-mail-response aggregate
Account-from options. Choose
either <BANKACCTFROM>
or <CCACCTFROM>.
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
<MAIL>
To, from, message information, see Chapter 9, "Customer to FI
Communication"
</MAIL>
</BANKMAILRS>
11.11.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
15508 Transaction not authorized (ERROR)
16500 HTML not allowed (ERROR)
16501 Unknown mail To: (ERROR)
282 11.11 E-Mail and Customer Notification
11.11.2 Notifications
OFX currently defines two banking notifications that an FI can support:
Returned check
Returned deposit
You can implement banking notifications through e-mail and synchronization. The client provides a
<TOKEN> representing its current state with regard to banking notification. (See section
3.2.4.) The
server can respond by returning a new token and one or more notification e-mail responses.
Client Sends Server Responds
Synchronization request
with current token
New token
Bank e-mail
Mail for returned check
Mail for returned deposit
OFX 2.1.1 Specification 2835/1/06
11.11.3 Returned Check and Deposit Notification
11.11.3.1 Response <CHKMAILRS>
The server returns this response (when a check has been returned), if it receives a banking e-mail
synchronization message.
The <CHKMAILRS> response must appear within a <BANKMAILTRNRS> transaction wrapper.
Tag Description
<CHKMAILRS>
Notification-message-response aggregate
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
<MAIL>
To, from, message information, see Chapter 9, "Customer to FI
Communication"
</MAIL>
<CHECKNUM>
Check number, A-12
<TRNAMT>
Amount of check, amount
<DTUSER>
Customer date on check, date
<FEE>
Fee assessed for NSF, amount
</CHKMAILRS>
284 11.11 E-Mail and Customer Notification
11.11.3.2 Response <DEPMAILRS>
The server returns this response (when a deposit has been returned), if it receives a banking e-mail
synchronization message.
The <DEPMAILRS> response must appear within a <BANKMAILTRNRS> transaction wrapper.
Tag Description
<DEPMAILRS>
Notification-message-response aggregate
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
<MAIL>
To, from, message information, see Chapter 9, "Customer to FI
Communication"
</MAIL>
<TRNAMT>
Amount of deposit, amount
<DTUSER>
Customer date of deposit, date
<FEE>
Fee assessed for NSF, amount
</DEPMAILRS>
OFX 2.1.1 Specification 2855/1/06
11.11.4 Loan E-Mail
With this message, the user can prepare a message to the FI regarding one of his loan accounts. The server
acknowledges receipt of the message. The FI prepares the response that the client picks up when it
synchronizes with the server.
11.11.4.1 Request <LOANMAILRQ>
Loan mail request is semantically identical to bank mail request. However, the <LOANMAILRQ>
includes loan account information, not <BANKACCTFROM> or <CCACCTFROM>.
The <LOANMAILRQ> request must appear within a <LOANMAILTRNRQ> transaction wrapper.
Tag Description
<LOANMAILRQ>
Loan e-mail request aggregate
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<MAIL>
To, from, message information, see Chapter 9, "Customer to FI
Communication"
</MAIL>
</LOANMAILRQ>
11.11.4.2 Response <LOANMAILRS>
The <LOANMAILRS> response must appear within a <LOANMAILTRNRS> transaction wrapper.
Tag Description
<LOANMAILRS>
Loan e-mail request aggregate
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<MAIL>
To, from, message information, see Chapter 9, "Customer to FI
Communication"
</MAIL>
</LOANMAILRS>
286 11.11 E-Mail and Customer Notification
11.11.4.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
16500 HTML not allowed (ERROR)
16501 Unknown mail To: (ERROR)
OFX 2.1.1 Specification 2875/1/06
11.12 Data Synchronization for Banking
Banking customers must be able to obtain the current status of transactions previously sent to the server for
processing. For example, once a client schedules a transfer and the transfer date has passed, the customer
might wish to verify that the server made the transfer as directed. Also, OFX allows for interactions with
the server through multiple clients. This means, for example, that the customer can perform some
transactions from a home PC and others from an office computer, with each session seamlessly
incorporating the activities performed on the other.
To accomplish these actions, the client uses a synchronization scheme to ensure that it has an accurate
copy of the server data that is relevant to the client application.
Banking requires synchronization in the following areas: Stop Check, IntraBank Transfers, InterBank
Transfers, Wire Transfers, and Banking Notifications.
11.12.1 Data Synchronization for Stop Check
11.12.1.1 Request <STPCHKSYNCRQ>
Tag Description
<STPCHKSYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<BANKACCTFROM>
Bank account of interest; token must be interpreted in terms of this account,
see section
11.3.1
</BANKACCTFROM>
<STPCHKTRNRQ>
Stop-check transactions (0 or more)
</STPCHKTRNRQ>
</STPCHKSYNCRQ>
288 11.12 Data Synchronization for Banking
11.12.1.2 Response <STPCHKSYNCRS>
Tag Description
<STPCHKSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in the
servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token in the
servers history table. Boolean
<BANKACCTFROM>
Bank account of interest; token must be interpreted in terms of this account, see
section 11.3.1
</BANKACCTFROM>
<STPCHKTRNRS>
Stop-check transactions (0 or more)
</STPCHKTRNRS>
</STPCHKSYNCRS>
11.12.2 Data Synchronization for Intrabank Funds Transfers
<INTRASYNCRQ> must be supported by all servers, even if it will always return <TOKEN>0 without
sync history, because a client cannot know whether or not the server would ever return updated transfer
information. Specifically, the client cannot know if a transfer will be processed immediately or at the end
of the business day until it has performed at least one transfer operation (then DTPOSTED vs.
DTXFERPRJ indicates which “mode” the server operates in). As such, the client must always send an
<INTRASYNCRQ> in case the server has updated information about a transfer, including immediate
transfers which were actually batch processed at the end of the business day or the next day and which may
have failed due to other account activity.
Transfers into an account do not show up in the sync for the recipient account. Only transfers out of an
account show up in the sync for that account.
OFX 2.1.1 Specification 2895/1/06
11.12.2.1 Request <INTRASYNCRQ>
Tag Description
<INTRASYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<INTRATRNRQ>
Intrabank-funds-transfer transactions (0 or more)
</INTRATRNRQ>
</INTRASYNCRQ>
290 11.12 Data Synchronization for Banking
11.12.2.2 Response <INTRASYNCRS>
Tag Description
<INTRASYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in
the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
</LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<INTRATRNRS>
Intrabank-funds-transfer transactions (0 or more)
</INTRATRNRS>
</INTRASYNCRS>
The <INTRASYNCRS> responses contain only intrabank transfers where the <xxxACCTFROM>
matches that submitted in the sync request. In other words, only transfer-from accounts are synchronized.
OFX 2.1.1 Specification 2915/1/06
11.12.3 Data Synchronization for Interbank Funds Transfers
Transfers into an account do not show up in the sync for the recipient account. Only transfers out of an
account show up in the sync for that account.
11.12.3.1 Request <INTERSYNCRQ>
Tag Description
<INTERSYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests;
token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Credit-card-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<INTERTRNRQ>
Interbank-funds-transfer transactions (0 or more)
</INTERTRNRQ>
</INTERSYNCRQ>
292 11.12 Data Synchronization for Banking
11.12.3.2 Response <INTERSYNCRS>
Tag Description
<INTERSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in
the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Credit-card-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<INTERTRNRS>
Interbank-funds-transfer transactions (0 or more)
</INTERTRNRS>
</INTERSYNCRS>
The <INTERSYNCRS> responses contain only intrabank transfers where the <xxxACCTFROM>
matches that submitted in the sync request. In other words, only transfer-from accounts are synchronized
OFX 2.1.1 Specification 2935/1/06
11.12.4 Data Synchronization for Wire Funds Transfers
11.12.4.1 Request <WIRESYNCRQ>
Tag Description
<WIRESYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<BANKACCTFROM>
Bank account of interest; token must be interpreted in terms of this account.
</BANKACCTFROM>
<WIRETRNRQ>
Wire-transfer transactions (0 or more)
</WIRETRNRQ>
</WIRESYNCRQ>
11.12.4.2 Response <WIRESYNCRS>
Tag Description
<WIRESYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry
in the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
<BANKACCTFROM>
Bank account of interest; token must be interpreted in terms of this account
</BANKACCTFROM>
<WIRETRNRS>
Wire-transfer transactions (0 or more)
</WIRETRNRS>
</WIRESYNCRS>
294 11.12 Data Synchronization for Banking
11.12.5 Data Synchronization for Recurring Intrabank Funds Transfers
11.12.5.1 Request <RECINTRASYNCRQ>
This request will synchronize the client with the server in relation to recurring intrabank transfer models.
To synchronize individual transfers that were created by the model (and perhaps canceled by another
client), the client must also issue an <INTRASYNCRQ>.
Tag Description
<RECINTRASYNCRQ>
Synchronization request
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<RECINTRATRNRQ>
Recurring-intrabank-funds-transfer transactions (0 or more)
</RECINTRATRNRQ>
</RECINTRASYNCRQ>
OFX 2.1.1 Specification 2955/1/06
11.12.5.2 Response <RECINTRASYNCRS>
Tag Description
<RECINTRASYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in
the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Credit-card-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<RECINTRATRNRS>
Recurring-intrabank-funds-transfer transactions (0 or more)
</RECINTRATRNRS>
</RECINTRASYNCRS>
The <RECINTRASYNCRS> responses contain only intrabank transfer models where the
<xxxACCTFROM> matches that submitted in the sync request.
296 11.12 Data Synchronization for Banking
11.12.6 Data Synchronization for Recurring Interbank Funds Transfers
11.12.6.1 Request <RECINTERSYNCRQ>
This request will synchronize the client with the server in relation to recurring interbank transfer models.
To synchronize individual funds transfers that were created by the model (and perhaps canceled by another
client), the client must also issue an <INTERSYNCRQ>.
Tag Description
<RECINTERSYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<RECINTERTRNRQ>
Recurring-transfer transactions (0 or more)
</RECINTERTRNRQ>
</RECINTERSYNCRQ>
OFX 2.1.1 Specification 2975/1/06
11.12.6.2 Response <RECINTERSYNCRS>
Tag Description
<RECINTERSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in
the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM> or
<LOANACCTFROM>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
-or-
<LOANACCTFROM>
Credit-card-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<RECINTERTRNRS>
Recurring-interbank-funds-transfer transactions (0 or more)
</RECINTERTRNRS>
</RECINTERSYNCRS>
298 11.12 Data Synchronization for Banking
11.12.7 Data Synchronization for Bank Mail
11.12.7.1 Request <BANKMAILSYNCRQ>
Tag Description
<BANKMAILSYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<INCIMAGES>
Y if the client accepts mail with images in the message body. N if the client
does not accept mail with images in the message body. Boolean
<USEHTML>
Y if client wants an HTML response, N if client wants plain text, Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM>.
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
<BANKMAILTRNRQ>
Bank-mail transactions (0 or more)
</BANKMAILTRNRQ>
</BANKMAILSYNCRQ>
OFX 2.1.1 Specification 2995/1/06
11.12.7.2 Response <BANKMAILSYNCRS>
Tag Description
<BANKMAILSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in
the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
Account-from options. Choose
either <BANKACCTFROM> or
<CCACCTFROM>.
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
-or-
<CCACCTFROM>
Credit-card-account-from aggregate, see section 11.3.2
</CCACCTFROM>
<BANKMAILTRNRS>
Bank-mail transactions (0 or more)
</BANKMAILTRNRS>
</BANKMAILSYNCRS>
300 11.12 Data Synchronization for Banking
11.12.8 Data Synchronization for Loan Mail
11.12.8.1 Loan Mail Sync Request <LOANMAILSYNCRQ>
Tag Description
<LOANMAILSYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<INCIMAGES>
Y if the client accepts mail with images in the message body. N if the client
does not accept mail with images in the message body. Boolean
<USEHTML>
Y if client wants an HTML response, N if client wants plain text, Boolean
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<LOANMAILTRNRQ>
Loan-mail transactions (0 or more)
</LOANMAILTRNRQ>
</LOANMAILSYNCRQ>
OFX 2.1.1 Specification 3015/1/06
11.12.8.2 Loan Mail Sync Response <LOANMAILSYNCRS>
Tag Description
<LOANMAILSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in
the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
<LOANACCTFROM>
Loan-account-from aggregate, see section 11.3.7
</LOANACCTFROM>
<LOANMAILTRNRS>
Loan-mail transactions (0 or more)
</LOANMAILTRNRS>
</LOANMAILSYNCRS>
302 11.13 Message Sets and Profile
11.13 Message Sets and Profile
OFX separates messages that the client and server send into groups called message sets. Each FI defines
the message sets that the institution supports. The messages described in this section fall into the following
types:
Banking – includes statement download, closing statement download, bank e-mail, notification, and
intrabank funds transfer
Credit Card – credit card statement download and closing statement download
Interbank Funds Transfers
Wire Funds Transfers
Loans - includes statement download, amortization statement download, closing statement download,
and loan e-mail
Each message set contains options and attributes that allow an FI to customize its use of OFX. For
example, an institution can support the Interbank Funds Transfer Message Set
(INTERXFERMSGSETV1), but it can choose not to support the recurring form of these transfers.
The profile defines the options and attributes as part of each message-set definition. Each set of options
and attributes appears within an aggregate that is specific to a message set. For example,
<WIREXFERMSGSETV1> contains all of the options and attributes that pertain to wire transfers.
OFX 2.1.1 Specification 3035/1/06
11.13.1 Message Sets and Messages
The following tables show the OFX banking transactions and their corresponding transaction wrappers for
a particular message set.
11.13.1.1 Bank Message Set and Messages
11.13.1.1.1 Bank Message Set Request Messages
Message Set Message
<BANKMSGSRQV1>
STMTTRNRQ
STMTRQ
STMTENDTRNRQ
STMTENDRQ
STPCHKTRNRQ
STPCHKRQ
INTRATRNRQ
INTRARQ
INTRAMODRQ
INTRACANRQ
RECINTRATRNRQ
RECINTRARQ
RECINTRAMODRQ
RECINTRACANRQ
BANKMAILTRNRQ
BANKMAILRQ
STPCHKSYNCRQ
INTRASYNCRQ
RECINTRASYNCRQ
BANKMAILSYNCRQ
</BANKMSGSRQV1>
304 11.13 Message Sets and Profile
11.13.1.1.2 Bank Message Set Response Messages
Message Set Message
<BANKMSGSRSV1>
STMTTRNRS
STMTRS
STMTENDTRNRS
STMTENDRS
STPCHKTRNRS
STPCHKRS
INTRATRNRS
INTRARS
INTRAMODRS
INTRACANRS
RECINTRATRNRS
RECINTRARS
RECINTRAMODRS
RECINTRACANRS
BANKMAILTRNRS
BANKMAILRS
CHKMAILRS
DEPMAILRS
STPCHKSYNCRS
INTRASYNCRS
RECINTRASYNCRS
BANKMAILSYNCRS
</BANKMSGSRSV1>
OFX 2.1.1 Specification 3055/1/06
11.13.1.2 Credit Card Message Set and Messages
11.13.1.2.1 Credit Card Message Set Request Messages
Message Set Message
<CREDITCARDMSGSRQV1>
CCSTMTTRNRQ
CCSTMTRQ
CCSTMTENDTRNRQ
CCSTMTENDRQ
</CREDITCARDMSGSRQV1>
11.13.1.2.2 Credit Card Message Set Response Messages
Message Set Message
<CREDITCARDMSGSRSV1>
CCSTMTTRNRS
CCSTMTRS
CCSTMTENDTRNRS
CCSTMTENDRS
</CREDITCARDMSGSRSV1>
306 11.13 Message Sets and Profile
11.13.1.3 Interbank Transfer Message Set and Messages
11.13.1.3.1 Interbank Transfer Message Set Request Messages
Message Set Message
<INTERXFERMSGSRQV1>
INTERTRNRQ
INTERRQ
INTERMODRQ
INTERCANRQ
RECINTERTRNRQ
RECINTERRQ
RECINTERMODRQ
RECINTERCANRQ
INTERSYNCRQ
RECINTERSYNCRQ
</INTERXFERMSGSRQV1>
OFX 2.1.1 Specification 3075/1/06
11.13.1.3.2 Interbank Transfer Message Set Response Messages
Message Set Message
<INTERXFERMSGSRSV1>
INTERTRNRS
INTERRS
INTERMODRS
INTERCANRS
RECINTERTRNRS
RECINTERRS
RECINTERMODRS
RECINTERCANRS
INTERSYNCRS
RECINTERSYNCRS
</INTERXFERMSGSRSV1>
308 11.13 Message Sets and Profile
11.13.1.4 Wire Transfer Message Set and Messages
11.13.1.4.1 Wire Transfer Message Set Request Messages
Message Set Message
<WIREXFERMSGSRQV1>
WIRETRNRQ
WIRERQ
WIRECANRQ
WIRESYNCRQ
</WIREXFERMSGSRQV1>
11.13.1.4.2 Wire Transfer Message Set Response Messages
Message Set Message
<WIREXFERMSGSRSV1>
WIRETRNRS
WIRERS
WIRECANRS
WIRESYNCRS
</WIREXFERMSGSRSV1>
OFX 2.1.1 Specification 3095/1/06
11.13.1.5 Loan Message Set and Messages
11.13.1.5.1 Loan Message Set Request Messages
Message Set Message
<LOANMSGSRQV1>
LOANSTMTTRNRQ
LOANSTMTRQ
AMRTSTMTTRNRQ
AMRTSTMTRQ
LOANSTMTENDTRNRQ
LOANSTMTENDRQ
LOANMAILTRNRQ
LOANMAILRQ
LOANMAILSYNCRQ
</LOANMSGSRQV1>
11.13.1.5.2 Loan Message Set Response Messages
Message Set Message
<LOANMSGSRSV1>
LOANSTMTTRNRS
LOANSTMTRS
AMRTSTMTTRNRS
AMRTSTMTRS
LOANSTMTENDTRNRS
LOANSTMTENDRS
LOANMAILTRNRS
LOANMAILRS
LOANMAILSYNCRS
</LOANMSGSRSV1>
310 11.13 Message Sets and Profile
11.13.2 Bank Message Set Profile
11.13.2.1 <BANKMSGSET>, <BANKMSGSETV1>
Tag Description
<BANKMSGSET>
Message set for banking
<BANKMSGSETV1>
Version 1 of message set
<MSGSETCORE>
Common message-set core
</MSGSETCORE>
<INVALIDACCTTYPE>
Account type not supported in <BANKACCTFROM>; 0 or more of
account types, see section
11.3.1.1 for values
<CLOSINGAVAIL>
Closing statement information available, Boolean
<XFERPROF>
Intrabank transfer profile (if supported), see section 11.13.2.2
</XFERPROF>
<STPCHKPROF>
Stop check profile (if supported), see section 11.13.2.3
</STPCHKPROF>
<EMAILPROF>
E-mail profile, see section 11.13.2.4
</EMAILPROF>
<IMAGEPROF>
Image profile (if supported), see section 3.1.6.2
</IMAGEPROF>
</BANKMSGSETV1>
End of bank message set version 1
</BANKMSGSET>
OFX 2.1.1 Specification 3115/1/06
11.13.2.2 Banking Profile, Funds Transfer <XFERPROF>
Tag Description
<XFERPROF>
Intrabank transfer profile (if supported)
<PROCDAYSOFF>
Days of week that no processing occurs: MONDAY, TUESDAY,
WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY. 0 or
more <PROCDAYSOFF> can be sent.
<PROCENDTM>
Time of day that day’s processing ends, time
<CANSCHED>
Supports scheduled transfers, Boolean
<CANRECUR>
Supports recurring transfers, Boolean. Requires <CANSCHED>
<CANLOAN>
Supports loan transfers. <CANLOAN>Y must be present for transfers to
involve loans, Boolean
<CANSCHEDLOAN>
Supports scheduled transfers of loans (requires <CANLOAN>Y), Boolean
<CANRECURLOAN>
Supports recurring transfers of loans (requires <CANSCHEDLOAN>Y),
Boolean
<CANMODXFERS>
Permit modifications to transfers, i.e. <INTRAMODRQ>, Boolean
<CANMODMDLS>
Permit modifications to models, i.e. <RECINTRAMODRQ>, Boolean
<MODELWND>
Model window; the number of days before a recurring transaction is scheduled
to be processed that it is instantiated on the system, N-3
<DAYSWITH>
Number of days before processing date that funds are withdrawn, N-3
<DFLTDAYSTOPAY>
Default number of days to pay, N-3
</XFERPROF>
11.13.2.3 Banking Profile, Stop Checks <STPCHKPROF>
Tag Description
<STPCHKPROF>
Stop check profile (if supported)
<PROCDAYSOFF>
Days of week that no processing occurs: MONDAY, TUESDAY,
WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or
SUNDAY. 0 or more <PROCDAYSOFF> can be sent.
<PROCENDTM>
Time of day that day’s processing ends, time
<CANUSERANGE>
Can stop a range of checks, Boolean.
<CANUSEDESC>
Can stop by description, Boolean.
<STPCHKFEE>
Default stop check free Amount
</STPCHKPROF>
312 11.13 Message Sets and Profile
11.13.2.4 Banking Profile, Email <EMAILPROF>
Tag Description
<EMAILPROF>
E-mail profile
<CANEMAIL>
Supports generalized banking e-mail, Boolean
<CANNOTIFY>
Server may return DEPMAILRS or CHKMAILRS in synchronization
responses. See section 11.11.3 , Boolean
</EMAILPROF>
11.13.3 Credit Card Message Set Profile
Tag Description
<CREDITCARDMSGSET>
Beginning tag for credit card message set
<CREDITCARDMSGSETV1>
Version 1 of message set
<MSGSETCORE>
Common message-set core
</MSGSETCORE>
<CLOSINGAVAIL>
Closing statement information available, Boolean
<IMAGEPROF>
Image profile (if supported), see section 3.1.6.2
</IMAGEPROF>
</CREDITCARDMSGSETV1>
Ending tag of credit card message set version 1
</CREDITCARDMSGSET>
Ending tag of credit card message set
OFX 2.1.1 Specification 3135/1/06
11.13.4 Interbank Funds Transfer Message Set Profile
Tag Description
<INTERXFERMSGSET>
Beginning tag for interbank transfers message set
<INTERXFERMSGSETV1>
Version 1 of message set
<MSGSETCORE>
Common message-set core
</MSGSETCORE>
<XFERPROF>
Interbank transfer profile, same as XFERPROF in banking, see
section 11.13.2.2
</XFERPROF>
<CANBILLPAY>
Server is capable of handling bill payment as a form of transfers,
Boolean
<CANCELWND>
Number of days after an interbank transfer occurs that it can be
canceled, N-3
<DOMXFERFEE>
Standard fee for a domestic interbank transfer, amount
<INTLXFERFEE>
Standard fee for an international interbank transfer, amount
</INTERXFERMSGSETV1>
End of interbank transfer message set version 1
</INTERXFERMSGSET>
End of interbank transfer message set
314 11.13 Message Sets and Profile
11.13.5 Wire Transfer Message Set Profile
Tag Description
<WIREXFERMSGSET>
Core message set for wire transfers
<WIREXFERMSGSETV1>
Version 1 of message set
<MSGSETCORE>
Common message-set core
</MSGSETCORE>
<PROCDAYSOFF>
Days of week that no processing occurs: MONDAY, TUESDAY,
WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or
SUNDAY. 0 or more <PROCDAYSOFF> can be sent.
<PROCENDTM>
Time of day that day’s processing ends, time
<CANSCHED>
Supports scheduled transfers, Boolean
<DOMXFERFEE>
Standard fee for a domestic wire transfer, amount
<INTLXFERFEE>
Standard fee for an international wire transfer, amount
</WIREXFERMSGSETV1>
End of wire transfer message set version 1
</WIREXFERMSGSET>
Ending tag of wire transfer message set
OFX 2.1.1 Specification 3155/1/06
11.13.6 Loan Message Set Profile
Tag Description
<LOANMSGSET>
Core message set for Loans
<LOANMSGSETV1>
Version 1 of message set
<MSGSETCORE>
Common message-set core
</MSGSETCORE>
<TRANDNLD>
Loan statement transactions available, Boolean
<CLOSINGAVAIL>
Closing statement information available, Boolean
<AMRTAVAIL>
Amortization statement information available, Boolean
<CANEMAIL>
Supports generalized loan e-mail, Boolean
<IMAGEPROF>
Image profile (if supported), see section 3.1.6.2
</IMAGEPROF>
</LOANMSGSETV1>
End of Loan message set version 1
</LOANMSGSET>
Ending tag of Loan message set
316 11.14 Examples
11.14 Examples
11.14.1 Statement Download
This example represents a customer who requests a statement download for a checking account. The
request omits <DTSTART> and <DTEND> because the client is interested in getting all available data.
The response contains an updated balance for the account and two transactions.
The request file:
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- Begin signon -->
<DTCLIENT>20051029101000</DTCLIENT><!-- Oct. 29, 2005, 10:10:00
am -->
<USERID>MyUserID</USERID> <!-- User ID -->
<USERPASS>MyPassword</USERPASS> <!-- Password (SSL encrypts
whole) -->
<LANGUAGE>ENG</LANGUAGE> <!-- Language used for text -->
<FI> <!-- ID of receiving institution -->
<ORG>NCH</ORG> <!-- Name of ID owner -->
<FID>1001</FID> <!-- Actual ID -->
</FI>
<APPID>MyApp</APPID>
<APPVER>0500</APPVER>
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<STMTTRNRQ> <!-- Begin request -->
<TRNUID>1001</TRNUID>
<STMTRQ> <!-- Begin statement request -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<INCTRAN> <!-- Begin include transaction -->
<INCLUDE>Y</INCLUDE> <!-- Include transactions -->
</INCTRAN> <!-- End of include transaction -->
</STMTRQ> <!-- End of statement request -->
</STMTTRNRQ> <!-- End request -->
OFX 2.1.1 Specification 3175/1/06
</BANKMSGSRQV1>
</OFX> <!-- End of request data -->
The response file:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- Begin signon -->
<STATUS> <!-- Begin status aggregate -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20051029101003</DTSERVER><!-- Oct. 29, 2005, 10:10:03
am -->
<LANGUAGE>ENG</LANGUAGE> <!-- Language used in response
-->
<DTPROFUP>19991029101003</DTPROFUP><!-- Last update to profile--
>
<DTACCTUP>20031029101003</DTACCTUP><!-- Last account update -->
<FI> <!-- ID of receiving institution -->
<ORG>NCH</ORG> <!-- Name of ID owner -->
<FID>1001</FID> <!-- Actual ID -->
</FI>
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS> <!-- Begin response -->
<TRNUID>1001</TRNUID> <!-- Client ID sent in request -->
<STATUS> <!-- Start status aggregate -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<STMTRS> <!-- Begin statement response -->
<CURDEF>USD</CURDEF>
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKTRANLIST> <!-- Begin list of statement
trans. -->
<DTSTART>20051001</DTSTART><!-- Start date: Oct. 1, 2005 -->
318 11.14 Examples
<DTEND>20051028</DTEND><!-- End date: Oct. 28, 2005 -->
<STMTTRN> <!-- First statement transaction -->
<TRNTYPE>CHECK</TRNTYPE><!--Check -->
<DTPOSTED>20051004</DTPOSTED><!-- Posted on Oct. 4, 2005
-->
<TRNAMT>-200.00</TRNAMT><!-- $200.00 -->
<FITID>00002</FITID><!-- Unique ID -->
<CHECKNUM>1000</CHECKNUM><!-- Check number -->
</STMTTRN> <!-- End statement transaction -->
<STMTTRN> <!-- Second transaction -->
<TRNTYPE>ATM</TRNTYPE><!-- ATM transaction -->
<DTPOSTED>20051020</DTPOSTED><!-- Posted on Oct. 20, 2005
-->
<DTUSER>20051020</DTUSER><!-- User date of Oct. 20, 2005 -
->
<TRNAMT>-300.00</TRNAMT><!-- $300.00 -->
<FITID>00003</FITID><!-- Unique ID -->
</STMTTRN> <!-- End statement transaction -->
</BANKTRANLIST> <!-- End list of statement trans. -->
<LEDGERBAL> <!-- Ledger balance aggregate -->
<BALAMT>200.29</BALAMT><!-- Bal amount: $200.29 -->
<DTASOF>200510291120</DTASOF><!-- Bal date: 10/29/05, 11:20
am -->
</LEDGERBAL> <!-- End ledger balance -->
<AVAILBAL> <!-- Available balance aggregate -->
<BALAMT>200.29</BALAMT><!-- Bal amount: $200.29 -->
<DTASOF>200510291120</DTASOF><!-- Bal date: 10/29/05, 11:20
am -->
</AVAILBAL> <!-- End available balance -->
</STMTRS> <!-- End statement response -->
</STMTTRNRS> <!-- End of transaction -->
</BANKMSGSRSV1>
</OFX> <!-- End of response data -->
11.14.2 Intrabank Funds Transfer
This example is for a customer who requests an immediate funds transfer of $200.00 from a checking
account to a savings account.
The request file:
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
OFX 2.1.1 Specification 3195/1/06
<SONRQ> <!-- ...Sign on request.
For a complete example,
see section 11.14.1-->
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<INTRATRNRQ> <!-- Begin request -->
<TRNUID>1001</TRNUID> <!-- Client's ID for this request -->
<INTRARQ> <!-- Begin transfer request -->
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID><!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>200.00</TRNAMT><!-- Amount of transfer -->
</XFERINFO> <!-- End of transfer aggregate -->
</INTRARQ> <!-- End of transfer request -->
</INTRATRNRQ> <!-- End request -->
</BANKMSGSRQV1>
</OFX> <!-- End of request data -->
The response file:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response.
For a complete example,
see section 11.14.1-->
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<INTRATRNRS> <!-- Begin response -->
<TRNUID>1001</TRNUID> <!-- Client ID sent in request -->
320 11.14 Examples
<STATUS> <!-- Start status aggregate -->
<CODE>0<CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<INTRARS> <!-- Begin transfer response -->
<CURDEF>USD</CURDEF>
<SRVRTID>1001</SRVRTID> <!-- Server assigned ID -->
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID><!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>200.00</TRNAMT><!-- Amount of transfer -->
</XFERINFO> <!-- End of transfer aggregate -->
<DTXFERPRJ>20050829100000</DTXFERPRJ><!-- Projected posting
date -->
</INTRARS> <!-- End of transfer response -->
</INTRATRNRS> <!-- End response -->
</BANKMSGSRSV1>
</OFX> <!-- End of response data -->
11.14.3 Stop Check
This example represents a customer who requests a stop for checks 200 through 202. The response
indicates that the first check (200) has already posted; the server has stopped the rest of the checks in the
range.
The request file:
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request.
For a complete example,
see section 11.14.1-->
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
OFX 2.1.1 Specification 3215/1/06
<BANKMSGSRQV1>
<STPCHKTRNRQ> <!-- Begin request -->
<TRNUID>1001</TRNUID> <!-- Client's ID for this request -->
<STPCHKRQ> <!-- Begin stop check request -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<CHKRANGE> <!-- Cancel a range of checks -->
<CHKNUMSTART>200</CHKNUMSTART><!-- Starting check number -->
<CHKNUMEND>202</CHKNUMEND><!-- Ending check number -->
</CHKRANGE> <!-- End range -->
</STPCHKRQ> <!-- End of stop check request -->
</STPCHKTRNRQ> <!-- End request -->
</BANKMSGSRQV1>
</OFX> <!-- End of request data -->
The response file:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response.
For a complete example,
see section 11.14.1-->
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STPCHKTRNRS> <!-- Begin response -->
<TRNUID>1001</TRNUID> <!-- Client ID sent in request -->
<STATUS> <!-- Begin status aggregate -->
<CODE>0<CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS> <!-- End of status aggregate -->
<STPCHKRS> <!-- Begin stop check response -->
<CURDEF>USD</CURDEF>
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
322 11.14 Examples
</BANKACCTFROM> <!-- End of account ID -->
<STPCHKNUM> <!-- First stopped check -->
<CHECKNUM>200</CHECKNUM><!-- Check 200 -->
<CHKSTATUS>101</CHKSTATUS><!-- Too late - already posted -->
</STPCHKNUM> <!-- End of first stopped check -->
<STPCHKNUM> <!-- Second stopped check -->
<CHECKNUM>201</CHECKNUM><!-- Check 201 -->
<CHKSTATUS>0</CHKSTATUS><!-- OK -->
</STPCHKNUM> <!-- End of second stopped check -->
<STPCHKNUM> <!-- Third stopped check -->
<CHECKNUM>202</CHECKNUM><!-- Check 202 -->
<CHKSTATUS>0</CHKSTATUS><!-- OK -->
</STPCHKNUM> <!-- End of third stopped check -->
<FEE>10.00</FEE>
<FEEMSG>Fee for stop payment</FEEMST>
</STPCHKRS> <!-- End stop check response -->
</STPCHKTRNRS> <!-- End of transaction -->
</BANKMSGSRSV1>
</OFX> <!-- End of response data -->
OFX 2.1.1 Specification 3235/1/06
11.14.4 Recurring Transfers
This example represents a customer who creates a transfer model and then cancels it. To follow the life of
the model (and the transfers it creates), the example includes sessions that occur over a two month period.
The model is added on November 1 and scheduled to start on November 15. The model creates transfers of
$1000 from a checking to a savings account. The schedule is open-ended.
Because requests within a message set are not guaranteed to be executed in order, the client initially sends
two request files: one to create the model and another to collect any transfers generated by the model. The
second request file contains a simple transfer synchronization request.
The client sends the file to create the model on November 1:
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request.
For a complete example,
see section 11.14.1-->
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<RECINTRATRNRQ> <!-- Begin request -->
<TRNUID>1001</TRNUID> <!-- Client's ID for this request -->
<RECINTRARQ> <!-- Begin request -->
<RECURRINST> <!-- Begin recurring aggregate -->
<FREQ>MONTHLY</FREQ> <!-- Monthly schedule -->
</RECURRINST> <!-- End recur aggregate -->
<INTRARQ>
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID><!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>1000.00</TRNAMT><!-- Amount of transfer-->
324 11.14 Examples
<DTDUE>20051115</DTDUE><!-- First transfer - Nov.15 -->
</XFERINFO> <!-- End transfer aggregate -->
</INTRARQ>
</RECINTRARQ> <!-- End transfer request -->
</RECINTRATRNRQ> <!-- End request -->
</BANKMSGSRQV1>
</OFX>
The response file shows that the model has been successfully created:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response.
For a complete example,
see section 11.14.1-->
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<RECINTRATRNRS> <!-- Begin response -->
<TRNUID>1001</TRNUID> <!-- Client ID sent in request -->
<STATUS> <!-- Start of status aggregate -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<RECINTRARS> <!-- Begin response -->
<RECSRVRTID>20000</RECSRVRTID><!-- Server assigned ID -->
<RECURRINST> <!-- Begin recurring aggregate -->
<FREQ>MONTHLY</FREQ> <!-- Monthly schedule -->
</RECURRINST> <!-- End of recurring aggregate -->
<INTRARS>
<CURDEF>USD</CURDEF?
<SRVRTID>20000</SRVRTID>
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID><!-- Account number -->
OFX 2.1.1 Specification 3255/1/06
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>1000.00</TRNAMT><!-- Amount of transfer -->
<DTDUE>20051115</DTDUE><!-- First transfer - Nov. 15 -->
</XFERINFO> <!-- End of transfer aggregate -->
</INTRARS>
</RECINTRARS> <!-- End of response -->
</RECINTRATRNRS> <!-- End of response -->
</BANKMSGSRSV1>
</OFX> <!-- End of response data -->
The client sends the payment synchronization request later on November 1:
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request.
For a complete example,
see section 11.14.1-->
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<INTRASYNCRQ> <!-- Sync intrabank transfers -->
<TOKEN>0</TOKEN> <!-- Token held by client -->
<REJECTIFMISSING>N</REJECTIFMISSING>
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID>
<ACCTID>999988</ACCTID>
<ACCTTYPE>CHECKING<ACCTTYPE>
</BANKACCTFROM>
</INTRASYNCRQ> <!-- End of sync request -->
</BANKMSGSRQV1>
</OFX> <!-- End of request data -->
Assuming that the server creates transfers 30 days prior to posting, the server returns status for one
pending transfer. This response comes back since the first transfer is scheduled to occur on November 15
and this date falls within 30 days of our session. Had the starting date been more than 30 days from our
signon date, the response would not have contained any pending transfers since the model would not have
generated any yet.
326 11.14 Examples
The response file from the server shows one pending transfer:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRQ> <!-- ...Sign on request.
For a complete example,
see section 11.14.1-->
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<INTRASYNCRS> <!-- Sync intrabank transfers -->
<TOKEN>22243</TOKEN> <!-- Token updated -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID>
<ACCTID>999988</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<INTRATRNRS> <!-- begin response -->
<TRNUID>0</TRNUID> <!-- Server generated, so 0-->
<STATUS> <!-- Success -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<INTRARS> <!-- Begin transfer response -->
<CURDEF>USD</CURDEF>
<SRVRTID>100100000</SRVRTID> <!-- Server assigned ID -->
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID> <!-- Routing transit or
other FI ID -->
<ACCTID>999988</ACCTID> <!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID> <!-- Routing transit or
other FI ID -->
<ACCTID>999977</ACCTID> <!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE> <!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>1000.00</TRNAMT> <!-- Amount of transfer -->
</XFERINFO> <!-- End transfer aggregate -->
<DTXFERPRJ>20051115</DTXFERPRJ> <!-- Projected date of the
transfer -->
OFX 2.1.1 Specification 3275/1/06
<RECSRVRTID>20000</RECSRVRTID> <!-- Model that created this
xfer -->
</INTRARS> <!-- End of transfer response -->
</INTRATRNRS> <!-- End of response -->
</INTRASYNCRS> <!-- End of sync response -->
</BANKMSGSRSV1>
</OFX> <!-- End of response data -->
Suppose the customer does not attempt to connect between November 16 and January 1. When the
customer does attempt to connect, it is to cancel the recurring transfer model. The client also sets the
<CANPENDING> flag, causing any pending transfers to be immediately cancelled as well. In order to get
all synchronization information (since requests are not guaranteed to be executed in order), the client sends
two request files, the first to cancel the model and the next to retrieve all transfer activity. This time, the
recurring request is wrapped in synchronization wrappers. It should be assumed that the token below was
received in a previous RECPMTSYNCRS. (The use of synchronization wrappers in requests is entirely up
to the client. Both ways are shown here for explanatory purposes.)
328 11.14 Examples
The request file:
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request.
For a complete example,
see section 11.14.1-->
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<RECINTRASYNCRQ> <!-- Sync recurring transfers -->
<TOKEN>324789987</TOKEN> <!-- Token held by the client -->
<REJECTIFMISSING>Y</REJECTIFMISSING><!-- Cancel only if up to
date -->
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>99998</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<RECINTRATRNRQ> <!-- Begin request -->
<TRNUID>1005</TRNUID> <!-- Client's ID for this request -->
<RECINTRACANRQ> <!-- Begin recur transfer cancel -->
<RECSRVRTID>20000</RECSRVRTID><!-- ID of the model -->
<CANPENDING>Y</CANPENDING><!-- Cancel pending transfers -->
</RECINTRACANRQ> <!-- End request -->
</RECINTRATRNRQ> <!-- End request -->
</RECINTRASYNCRQ> <!-- End of sync request -->
</BANKMSGSRQV1>
</OFX> <!-- End of request data -->
The response file:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response.
For a complete example,
see section 11.14.1-->
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<RECINTRASYNCRS> <!-- Sync response -->
<TOKEN>324789988</TOKEN <!-- New token -->
OFX 2.1.1 Specification 3295/1/06
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>99998</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<RECINTRATRNRS> <!-- Begin response -->
<TRNUID>1005</TRNUID> <!-- Client ID sent in request -->
<STATUS> <!-- Start of status aggregate -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<RECINTRACANRS> <!-- Begin cancel model -->
<RECSRVRTID>20000</RECSRVRTID><!-- Model that was canceled -
->
<CANPENDING>Y</CANPENDING>
</RECINTRACANRS> <!-- End of cancel model -->
</RECINTRATRNRS> <!-- End response -->
</RECINTRASYNCRS> <!-- End sync response -->
</BANKMSGSRSV1>
</OFX> <!-- End response -->
Next request file:
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request.
For a complete example,
see section 11.14.1-->
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<INTRASYNCRQ> <!-- Sync intrabank transfers -->
<TOKEN>22243</TOKEN> <!-- Token held by the client -->
<REJECTIFMISSING>N</REJECTIFMISSING>
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>99998</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
</INTRASYNCRQ> <!-- End of sync request -->
</BANKMSGSRQV1>
</OFX> <!-- End of request data -->
330 11.14 Examples
Since the customer last connected, the November 15 transfer has posted, the December 15 transfer has
been scheduled, the December 15 transfer has posted and a transfer has been scheduled for January 15. The
response file shows these four transfer responses and the cancellation response for the January 15 transfer.
Note that servers are not required to show the post of transfers via a transfer modification response in the
sync. Alternatively, a client may need to note that the transfer happened in a subsequent statement
download.
The response file:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response.
For a complete example,
see section 11.14.1-->
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<INTRASYNCRS>
<TOKEN>22244</TOKEN> <!-- New token -->
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>99998</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<INTRATRNRS> <!—- 11/15 post -->
<TRNUID>0</TRNUID> <!—- Server generated, so 0 -->
<STATUS>
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO
</STATUS>
<INTRAMODRS> <!-- This is the Nov. 15 post -->
<SRVRTID>100100000</SRVRTID><!-- Server assigned ID -->
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID><!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
OFX 2.1.1 Specification 3315/1/06
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>1000.00</TRNAMT><!-- Amount of transfer -->
</XFERINFO> <!-- End of transfer aggregate -->
<XFERPRCSTS> <!-- Status of transfer -->
<XFERPRCCODE>POSTEDON</XFERPRCCODE><!-- Status code -->
<DTXFERPRC>20051115</DTXFERPRC<!-- Date transfer was
posted -->
</XFERPRCSTS> <!-- End of transfer status -->
</INTRAMODRS> <!-- End of Nov. 15 post -->
</INTRATRNRS> <!-- End of response -->
<INTRATRNRS> <!--12/15 pending transfer -->
<TRNUID>0</TRNUID>
<STATUS> <!-- Success -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<INTRARS> <!-- This is the Dec. 15 pending -->
<CURDEF>USD</CURDEF>
<SRVRTID>112233</SRVRTID> <!-- Server assigned ID -->
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID> <!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID> <!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>1000.00</TRNAMT> <!-- Amount of transfer -->
</XFERINFO> <!-- End of transfer aggregate -->
<DTXFERPRJ>20051215</DTXFERPRJ> <!-- Projected date of the
transfer -->
<RECSRVRTID>20000</RECSRVRTID> <!-- Model -->
</INTRARS> <!-- End of Dec. 15 pending -->
</INTRATRNRS> <!-- End response -->
<INTRATRNRS> <!-- 12/15 post -->
<TRNUID>0</TRNUID> <!-- Client ID sent in request -->
332 11.14 Examples
<STATUS>
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO
</STATUS>
<INTRAMODRS> <!-- This is the Dec. 15 post -->
<SRVRTID>112233</SRVRTID><!-- Server assigned ID -->
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</ACCTTYPE><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID><!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>1000.00</TRNAMT><!-- Amount of transfer -->
</XFERINFO> <!-- End of transfer aggregate -->
<XFERPRCSTS> <!-- Status of transfer -->
<XFERPRCCODE>POSTEDON</XFERPRCCODE><!-- Status code -->
<DTXFERPRC>20051215</DTXFERPRC><!-- Date transfer was posted
-->
</XFERPRCSTS> <!-- End of transfer status -->
</INTRAMODRS> <!-- End of Dec. 15 post -->
</INTRATRNRS> <!-- End of response -->
<INTRATRNRS> <!—This is the 1/15 pending -->
<TRNUID>0</TRNUID> <!-- Client ID sent in request -->
<STATUS>
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<INTRARS> <!-- This is the Jan. 15 pending -->
<CURDEF>USD</CURDEF>
<SRVRTID>112255</SRVRTID><!-- Server assigned ID -->
<XFERINFO> <!-- Begin transfer aggregate -->
<BANKACCTFROM> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999988</ACCTID><!-- Account number -->
OFX 2.1.1 Specification 3335/1/06
<ACCTTYPE>CHECKING</ACCTTYPE><!-- Account type -->
</BANKACCTFROM> <!-- End of account ID -->
<BANKACCTTO> <!-- Identify the account -->
<BANKID>121099999</BANKID><!-- Routing transit or other
FI ID -->
<ACCTID>999977</ACCTID><!-- Account number -->
<ACCTTYPE>SAVINGS</ACCTTYPE><!-- Account type -->
</BANKACCTTO> <!-- End of account ID -->
<TRNAMT>1000.00</TRNAMT><!-- Amount of transfer -->
</XFERINFO> <!-- End of transfer aggregate -->
<DTXFERPRJ>20050115</DTXFERPRJ><!-- Projected date of transfer
-->
<RECSRVRTID>20000</RECSRVRTID><!-- Model -->
</INTRARS> <!-- End of Jan. 15 pending -->
</INTRATRNRS> <!-- Cancellation of 1/15 pending-->
<INTRATRNRS> <!-- response -->
<TRNUID>0</TRNUID> <!-- Client ID sent in this
request -->
<STATUS>
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<INTRACANRS> <!-- This is the Jan. 15 cancel -->
<SRVRTID>112255</SRVRTID> <!-- Server ID for Jan. 15 xfer --
>
</INTRACANRS> <!-- End of Jan. 15 cancel -->
</INTRATRNRS> <!-- End of response -->
</INTRASYNCRS> <!-- End of sync response -->
</BANKMSGSRSV1>
</OFX> <!-- End of response -->
11.14.5 Loans
The following are OFX fragments; the missing OFX is covered in other request/response examples.
LOAN ACCOUNT INFORMATION
<LOANACCTINFO>
<LOANACCTFROM>
<LOANACCTID>123456789</LOANACCTID>
<LOANACCTTYPE>CONSUMER</LOANACCTTYPE>
</LOANACCTFROM>
<LOANTYPE>FIXED</LOANTYPE>
<LOANINITNUMPMTS>6</LOANINITNUMPMTS>
334 11.14 Examples
<LOANINITBAL>5000.00</LOANINITBAL>
<LOANFREQ>MONTHLY</LOANFREQ>
<DTLOANSTART>20050101120000</DTLOANSTART>
<DTLOANMATURITY>20050704120000</DTLOANMATURITY>
<PRINBAL>
<BALAMT>5000.00</BALAMT>
<DTASOF>20050101120000</DTASOF>
</PRINBAL>
<BALLOONAMT>0.00</BALLOONAMT>
<LOANINT>
<LOANINTYTD>0</LOANINTYTD>
<LOANINTLTD>0</LOANINTLTD>
<LOANINTPRJ>116.04</LOANINTPRJ>
<DTASOF>20050101120000</DTASOF>
</LOANINT>
<LOANIRATE>
<LOANINTRATE>8</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050101120000</DTASOF>
</LOANIRATE>
<LOANPMT>
<PMTAMT>887.89</PMTAMT>
<DTPMTDUE>20050204120000</DTPMTDUE>
<LOANPMTTYPE>PRNPLUSINT</LOANPMTTYPE>
</LOANPMT>
<LOANRMNPMTS>6</LOANRMNPMTS>
<SUPTXDL>Y</SUPTXDL>
<XFERSRC>Y</XFERSRC>
<XFERDEST>Y</XFERDEST>
<SVCSTATUS>ACTIVE</SVCSTATUS>
</LOANACCTINFO>
LOAN STATEMENT DOWNLOAD
The request file:
<LOANSMTTRNRQ>
<TRNUID>ABCDEF-12345-54321-FEDGBA</TRNUID>
<LOANSMTRQ>
<LOANACCTFROM>
<LOANACCTID>123456789</LOANACCTID>
<LOANACCTTYPE>CONSUMER</LOANACCTTYPE>
OFX 2.1.1 Specification 3355/1/06
</LOANACCTFROM>
<INCTRAN>Y
<DTSTART>20050101120000</DTSTART>
<DTEND>20050301120000</DTEND>
</LOANSMTRQ>
</LOANSMTTRNRQ>
The response file:
<LOANSMTTRNRS>
<TRNUID>ABCDEF-12345-54321-FEDGBA</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<LOANSMTRS>
<CURDEF>USD</CURDEF>
<LOANACCTFROM>
<LOANACCTID>123456789</LOANACCTID>
<LOANACCTTYPE>CONSUMER</LOANACCTTYPE>
</LOANACCTFROM>
<LOANTRANLIST>
<DTSTART>20050101120000</DTSTART>
<DTEND>20050325120000</DTEND>
<LOANSMTTRN>
<LOANTRNTYPE>PAYMENT</LOANTRNTYPE>
<DTPOSTED>20050208120000</DTPOSTED>
<TRNAMT>887.89</TRNAMT>
<LOANTRNAMT>
<PRINAMT>818.92</PRINAMT>
<INTAMT>33.97</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
<FITID>A45GC86565
</LOANSMTTRN>
<LOANSMTTRN>
<LOANTRNTYPE>INT</LOANTRNTYPE>
<DTPOSTED>20050208120000</DTPOSTED>
<TRNAMT>33.97</TRNAMT>
<FITID>A45GE86565
</LOANSMTTRN>
<LOANSMTTRN>
336 11.14 Examples
<LOANTRNTYPE>PAYMENT</LOANTRNTYPE>
<DTPOSTED>20050304120000</DTPOSTED>
<TRNAMT>887.89</TRNAMT>
<LOANTRNAMT>
<PRINAMT>830.82</PRINAMT>
<INTAMT>22.68</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
</LOANSMTTRN>
<LOANSMTTRN>
<LOANTRNTYPE>INT</LOANTRNTYPE>
<DTPOSTED>20050304120000</DTPOSTED>
<TRNAMT>22.68</TRNAMT>
<FITID>A45GE86565
</LOANSMTTRN>
<LOANSMTTRN><!-- Extra principal only payment-->
<LOANTRNTYPE>PAYMENT</LOANTRNTYPE>
<DTPOSTED>20050315120000</DTPOSTED>
<TRNAMT>500.00</TRNAMT>
<LOANTRNAMT>
<PRINAMT>500</PRINAMT>
<INTAMT>0.00</INTAMT>
<INSURANCE>0.00</INSURANCE>
</LOANTRNAMT>
</LOANSMTTRN>
</LOANTRANLIST>
<PRINBAL>
<BALAMT>2850.26</BALAMT>
<PRINYTD>2149.74</PRINYTD>
<PRINLTD>2149.74</PRINLTD>
<DTASOF>20050301120000</DTASOF>
</PRINBAL>
<MKTGINFO>New fixed rate loans at 6%. Contact branch</MKTGINFO>
</LOANSTMTRS>
</LOANSTMTTRNRS>
AMORTIZATION STATEMENT DOWNLOAD
The request file:
<AMRTSMTTRNRQ>
<TRNUID>ABCDEF-12345-54321-FEDCBA</TRNUID>
OFX 2.1.1 Specification 3375/1/06
<AMRTSMTRQ>
<LOANACCTFROM>
<LOANACCTID>123456789</LOANACCTID>
<LOANACCTTYPE>CONSUMER</LOANACCTTYPE>
</LOANACCTFROM>
</AMRTSMTRQ>
</AMRTSMTTRNRQ>
The response file:
<AMRTSMTTRNRS>
<TRNUID>ABCDEF-12345-54321-FEDCBA</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<AMRTSMTRS>
<CURDEF>USD</CURDEF>
<LOANACCTFROM>
<LOANACCTID>123456789</LOANACCTID>
<LOANACCTTYPE>CONSUMER</LOANACCTTYPE>
</LOANACCTFROM>
<DTSTART>20050101120000</DTSTART>
<DTEND>20050704120000</DTEND>
<AMRTSMTTRN>
<PMTNUMBER>1</PMTNUMBER>
<LOANINITBAL>5000.00</LOANINITBAL>
<PRINBAL>
<BALAMT>4181.08</BALAMT>
<DTASOF>20050208120000</DTASOF>
</PRINBAL>
<LOANTRNAMT>
<PRINAMT>818.92</PRINAMT>
<INTAMT>33.97</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
<LOANIRATE>
<LOANINTRATE>8</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050101120000</DTASOF>
</LOANIRATE>
<AMRTTYPE>ADJUSTED</AMRTTYPE>
338 11.14 Examples
</AMRTSMTTRN>
<AMRTSMTTRN>
<PMTNUMBER>2</PMTNUMBER>
<LOANINITBAL>4181.08</LOANINITBAL>
<PRINBAL>
<BALAMT>3350.26</BALAMT>
<DTASOF>20050304120000</DTASOF>
</PRINBAL>
<LOANTRNAMT>
<PRINAMT>830.82</PRINAMT>
<INTAMT>22.68</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
<LOANIRATE>
<LOANINTRATE>8.5</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050301120000</DTASOF>
</LOANIRATE>
<AMRTTYPE>ADJUSTED</AMRTTYPE>
</AMRTSMTTRN>
<AMRTSMTTRN>
<LOANINITBAL>3350.26</LOANINITBAL>
<PRINBAL>
<BALAMT>2850.26</BALAMT>
<DTASOF>20050315120000</DTASOF>
</PRINBAL>
<LOANTRNAMT><!-- Extra principal only payment-->
<PRINAMT>500</PRINAMT>
<INTAMT>0.00</INTAMT>
<INSURANCE>0.00</INSURANCE>
</LOANTRNAMT>
<LOANIRATE>
<LOANINTRATE>8.5</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050301120000</DTASOF>
</LOANIRATE>
<AMRTTYPE>ADJUSTED</AMRTTYPE>
</AMRTSMTTRN>
<AMRTSMTTRN>
<PMTNUMBER>3</PMTNUMBER>
<LOANINITBAL>2850.26</LOANINITBAL>
<PRINBAL>
OFX 2.1.1 Specification 3395/1/06
<BALAMT>2016.73</BALAMT>
<DTASOF>20050404120000</DTASOF>
</PRINBAL>
<LOANTRNAMT>
<PRINAMT>833.53</PRINAMT>
<INTAMT>19.97</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
<LOANIRATE>
<LOANINTRATE>8.5</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050301120000</DTASOF>
</LOANIRATE>
<AMRTTYPE>PROJECTED</AMRTTYPE>
</AMRTSMTTRN>
<AMRTSMTTRN>
<PMTNUMBER>4</PMTNUMBER>
<LOANINITBAL>2016.73</LOANINITBAL>
<PRINBAL>
<BALAMT>1176.91</BALAMT>
<DTASOF>20050504120000</DTASOF>
</PRINBAL>
<LOANTRNAMT>
<PRINAMT>839.82</PRINAMT>
<INTAMT>13.68</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
<LOANIRATE>
<LOANINTRATE>8.5</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050301120000</DTASOF>
</LOANIRATE>
<AMRTTYPE>PROJECTED</AMRTTYPE>
</AMRTSMTTRN>
<AMRTSMTTRN>
<PMTNUMBER>5</PMTNUMBER>
<LOANINITBAL>1176.91</LOANINITBAL>
<PRINBAL>
<BALAMT>331.66</BALAMT>
<DTASOF>20050604120000</DTASOF>
</PRINBAL>
<LOANTRNAMT>
340 11.14 Examples
<PRINAMT>845.25</PRINAMT>
<INTAMT>8.25</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
<LOANIRATE>
<LOANINTRATE>8.5</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050301120000</DTASOF>
</LOANIRATE>
<AMRTTYPE>PROJECTED</AMRTTYPE>
</AMRTSMTTRN>
<AMRTSMTTRN>
<PMTNUMBER>6</PMTNUMBER>
<LOANINITBAL>331.66</LOANINITBAL>
<PRINBAL>
<BALAMT>0</BALAMT>
<DTASOF>20050704120000</DTASOF>
</PRINBAL>
<LOANTRNAMT>
<PRINAMT>368.91</PRINAMT>
<INTAMT>2.25</INTAMT>
<INSURANCE>35.00</INSURANCE>
</LOANTRNAMT>
<LOANIRATE>
<LOANINTRATE>8.5</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050301120000</DTASOF>
</LOANIRATE>
<AMRTTYPE>PROJECTED</AMRTTYPE>
</AMRTSMTTRN>
<MKTGINFO>New fixed rate loans at 6%. Contact branch</MKTGINFO>
</AMRTSMTRS>
</AMRTSMTTRNRS>
LOAN CLOSING STATEMENT DOWNLOAD
The request file:
<LOANSTMTENDTRNRQ>
<TRNUID>ABCDEF-12345-54321-FEDCCBA</TRNUID>
<STATUS>
<CODE>0</CODE>
OFX 2.1.1 Specification 3415/1/06
<SEVERITY>INFO</SEVERITY>
</STATUS>
<LOANSTMTENDRQ>
<LOANACCTFROM>
<LOANACCTID>123456789</LOANACCTID>
<LOANACCTTYPE>CONSUMER</LOANACCTTYPE>
</LOANACCTFROM>
<DTSTART>20050101120000</DTSTART>
<DTEND>20050704120000</DTEND>
</LOANSTMTENDRQ>
</LOANSTMTENDTRNRQ>
The response file:
<LOANSTMTENDTRNRS>
<TRNUID>ABCDEF-12345-54321-FEDCCBA</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<LOANSTMTENDRS>
<CURDEF>USD</CURDEF>
<LOANACCTFROM>
<LOANACCTID>123456789</LOANACCTID>
<LOANACCTTYPE>CONSUMER</LOANACCTTYPE>
</LOANACCTFROM>
<LOANCLOSING>
<FITID>1234</FITID>
<DTOPEN>20050104120000</DTOPEN>
<DTCLOSE>20050207120000</DTCLOSE>
<DTNEXT>20050304120000</DTNEXT>
<BALOPEN>5000.00</BALOPEN>
<PRINBAL>
<BALAMT>4181.08</BALAMT>
<PRINYTD>818.92</PRINYTD>
<PRINLTD>818.92</PRINLTD>
<DTASOF>20050208120000</DTASOF>
</PRINBAL>
<LOANINT>
<LOANINTYTD>33.97</LOANINTYTD>
<LOANINTLTD>33.97</LOANINTLTD>
<LOANINTPRJ>116.04</LOANINTPRJ>
342 11.14 Examples
<DTASOF>20050208120000</DTASOF>
</LOANINT>
<LOANIRATE>
<LOANINTRATE>8</LOANINTRATE>
<RATETYPE>FLOATING</RATETYPE>
<DTASOF>20050101120000</DTASOF>
</LOANIRATE>
<ESTPAYOFF>
<ESTPAYOFFBAL>4422.91</ESTPAYOFFBAL>
<DTASOF>20050208120000</DTASOF>
</ESTPAYOFF>
<BALLOONAMT>0</BALLOONAMT>
<LOANPMT>
<PMTAMT>887.89</PMTAMT>
<DTPMTDUE>20050301120000</DTPMTDUE>
<ESCRWAMT>0</ESCRWAMT>
<LOANPMTTYPE> PRNANDINT</LOANPMTTYPE>
</LOANPMT>
<LOANRMNPMTS>5</LOANRMNPMTS>
<DTPOSTSTART>20050208120000</DTPOSTSTART>
<DTPOSTEND>20050303120000</DTPOSTEND>
<MKTGINFO>New fixed rate loans at 6%. Contact branch</MKTGINFO>
</LOANCLOSING>
</LOANSTMTENDRS>
</LOANSTMTENDTRNRS>
OFX 2.1.1 Specification 3435/1/06
CHAPTER 12 PAYMENTS
This section describes the Payments portion of OFX. OFX Payments consists of a set of functions for
scheduling and maintaining payment transactions, and for synchronizing with the server to obtain an
accurate status of all recent and scheduled transactions.
Clients use payment requests to schedule payments and to modify or delete payments if necessary. OFX
also supports business payments, as described in section
12.1.
The recurring payments function allows the client to schedule automatic generation of a series of recurring
payments by means of a single request. As with individual payments, the client can modify or delete these
requests.
The payments function incorporates the synchronization features of OFX, allowing multiple client
applications to synchronize with the server to obtain the current status of all payment transactions known
to the server.
In many international environments, payments are performed using interbank funds transfers. OFX
Payments supports this by allowing a payee to be designated as a destination bank account. Servers can
implement these messages as transfers where appropriate.
12.1 Consumer and Business Payments
OFX Payments is designed to support both consumer and business payments. Businesses have additional
requirements for payments. In particular, there is a need to include itemized instructions that specify how a
payment should be disbursed across multiple invoices and/or line items. OFX supports this requirement
through the inclusion of the <EXTDPMT> aggregate within payment requests. The Payment Modification
Request <PMTMODRQ> also supports changes to <EXTDPMT> data.
12.2 The Payee Model
The payee model in OFX is designed to provide support for both “pay-some” and “pay-any” payment
systems. “Pay-some” systems are those that restrict users to only make payments to payees that appear on
an approved list. Such payees are often referred to as “standard payees,” or “standard merchants.” These
are generally larger corporations that receive high volumes of payments, such as telephone companies or
power utilities. In contrast, pay-any” systems allow payments to any payee for which the user provides
accurate billing information. These systems often also include a list of standard payees.
12.2.1 Payee Identifiers
OFX is designed to be flexible in the requirements for payee identifiers. It supports systems where all,
some, or no payees are assigned a payee ID. In addition, it enables the server to assign an ID to a payee that
was previously being paid by billing address.
344 12.2 The Payee Model
You must implement the scope of payee such that the ID is at least global across the users set of
payments-enabled accounts with the payments provider. For example, if the user has both a checking and a
money market account enabled for payments with the payments provider, then a payee ID obtained for a
payment made from one of these accounts should identify the same payee if used for a payment drawn on
the other account. This simplifies client support for allowing a user to choose from which account to make
a payment.
OFX requires payee identifiers to have a one-to-one relationship with the corresponding <PAYEE>
information. In other words, different payee IDs must also differ in their corresponding payee billing
description or payee name <NAME>. Similarly, a payee ID must be independent of a users account
number with the payee. However, the payment system is free to use the users account number in
combination with the payee ID to determine the routing of a payment. These rules are intended to simplify
the payee model for the user, insuring that different payee IDs will have discernibly different descriptions
associated with them. They also insure that the user will not be required to maintain multiple payee entries
for a payee with which the user holds multiple accounts.
OFX includes an element for indicating the scope of a payee ID returned from the server. This allows
clients to adapt by expanding or restricting their functionality depending on the scope of payee IDs it
encounters.
A payee list for each user, maintained on the server, allows the server to manage the identifiers assigned to
a users payees. This functionality is described in section
12.2.2.
12.2.2 Payee Lists
OFX specifies that a server-hosted payee list is maintained for each payments user. This list contains the
payees that a user has paid through the payment system, or has set up to pay. Updates to this list are
available through the synchronization mechanism. This insures that multiple clients have access to the full
list of payees the user has configured. It is only necessary to enter each payee once.
Some payment systems require a first time setup before using a payee. This can occur externally to the
client and server software, for example by filling out a paper form or telephoning the bank. In this case,
payee list synchronization provides a way for the payee to become accessible to the client software when
the FI completes the setup.
The list can contain payees with or without payee IDs. An important function of the payee list is to
communicate payee changes from the server to the client. This includes changes in processing date
parameters and conversion of a payee to a standard payee.
Once added to the list, the payment system makes payments by the payee list ID. This makes it clear to a
client when the user is adding to a payee list, and when he or she modifies an existing payee on the list.
Although the messages make it clear whether a client is trying to add a new payee, a careful server will
check for exact matches on payee adds and not create new payee list entries unnecessarily.
OFX 2.1.1 Specification 3455/1/06
“Pay-any” systems can perform background processing that matches billing addresses with standard
payees. When this occurs, the server can update the relevant payee lists and update the clients when they
synchronize with the modified list data.
Each payee entry in the list can also include a list of the users accounts with that payee. This further
reduces the data entry required by a user to make a payment, and facilitates the implementation of
lightweight clients.
For a single account, it is important that references to a payee by <PAYEELSTID> do not resolve to
different physical payees if the account is being used by more than one user. The same <PAYEELSTID>
must map to the same corresponding payee billing description and payee name <NAME>. For example,
<PAYEELSTID>12345 may be used for ABC Rentals for one user of a single account. If the same
account is used for a second user, <PAYEELSTID>12345 cannot be used for XYZ Supplies. Conversely,
if two or more users share an account, any duplicated payees in each payee list must map to the same
<PAYEELSTID>. Servers must ensure the integrity of the payee list for shared accounts, either by issuing
a different userid for such accounts or by issuing payee and payment deletes followed by payee and
payment adds to correct the payee list and update the payment history when two payee lists are merged. In
the latter case, payees added by each user must be reconciled with the shared payee list on an ongoing
basis.
12.2.3 Standard Payee Lists
Many payment systems maintain a list of payees that receive payments from a large number of users.
Payments to these payees are usually consolidated into a few electronic funds transfers or are mailed in
large batches to the payee. Payees that receive this special processing are generally referred to as standard
payees. In a “pay-some” system, all the approved payees can be considered to be standard payees. When a
user pays a standard payee, there might be different processing lead-times used to calculate the payment
and/or processing date of a payment.
When a payment system includes a standard payee list, it might be desirable to present the list to the user,
who can then select payees he or she wants to pay. Unfortunately, it is cumbersome to provide this
functionality in the client software due to the potential size of this list, which makes it problematic to keep
updated and to present to the user. While the list can contain thousands of payee entries, a user will
typically need less than ten or twenty entries from the list. It can also be difficult for a user to choose the
correct payee entry when the list contains a number of similarly named payees.
Therefore, OFX does not provide a mechanism for delivering these lists to the client. However, there are
several ways that an external presentation of such a list can be integrated into the client or server. For
example, a payment providers Web site could present a search engine that assists the user to locate the
correct payee. Once identified, the payees can either be imported into the client, or inserted into the users
payee list on the server. In the latter case, synchronizing the payee list will make the newly added payees
visible to the client.
346 12.2 The Payee Model
12.2.4 Identifying Payees
Payees can be identified in several ways:
Name and address, by means of <PAYEE>, must be identified only once for each payee. Thereafter,
clients must use the assigned <PAYEELSTID> and, if assigned, <PAYEEID>. If the clients send both
<PAYEE> and <PAYEELSTID> in a <PMTRQ>, <PMTMODRQ>, <RECPMTRQ>, or
<RECPMTMODRQ>, the client is making an implicit payee modification request.
In <BILLPAYMSGSRSV1>, the server must return a <PAYEEMODRS> in a subsequent
<PAYEESYNCRS> for all actual changes. This is not necessary (though still allowed) if no change
were made.
If a client sends just <PAYEE> in a <PMTRQ> or <RECPMTRQ>, the client is making an implicit
payee add request. (Clients must include the known <PAYEELSTID> in a <PMTMODRQ> or
<RECPMTMODRQ>.) For more information about implicit payee adds and modifications, see section
12.2.5.
Destination bank account <BANKACCTTO> should be done only once for each payee. Thereafter,
clients should use the assigned <PAYEELSTID> or <PAYEEID>, as with name and address payees.
The <PAYEE> aggregate is required to provide name and address information as a backup to account
transfers.
Payee list ID <PAYEELSTID> after a payee has been added to the list.
Note: Duplicate payee list entries can occur if clients are not careful to send the payee list ID
in subsequent requests.
Standard payee ID <PAYEEID> for any payee that has been assigned a standard payee ID. This could
happen before a closed system makes any payments, or anytime after the server has notified the client
that a payee has a standard payee ID. If a <PAYEELSTID> also exists for the payee, it is required in
the request and response, in addition to the <PAYEEID>.
Note: Servers must always assign <PAYEELSTID>s to payees. Once <PAYEELSTID>s have
been assigned, clients must always send the <PAYEELSTID>, even if a payee has both a
<PAYEEID> and a <PAYEELSTID>.
OFX 2.1.1 Specification 3475/1/06
12.2.5 Side Effects of Payee Adds and Modifications
Payees are added either implicitly or explicitly. Explicit adds occur by executing a <PAYEERQ>. Implicit
payee adds occur with the execution of a <PMTRQ> or <RECPMTRQ> where a payee list ID is not sent
with the request. (Thus, duplicate payee list entries can occur if clients are not careful to send the payee list
ID if it is known.) In the case of an implicit payee add, a server must create and store a <PAYEERS> to be
returned to the client in subsequent payee synchronization responses. Since the change was not generated
by an explicit request, the <TRNUID> in this response would be zero.
Payees are modified either implicitly or explicitly. Explicit changes occur by executing a
<PAYEEMODRQ>. Implicit payee changes occur with the execution of a <PMTRQ>, <PMTMODRQ>,
<RECPMTRQ>, or <RECPMTMODRQ>, if the payee list ID is sent along with the payee aggregate. In
<BILLPAYMSGSETV1>, a <PAYEE> aggregate must accompany these requests. In such cases, since the
<PAYEELSTID> is present, a server may check to see if the payee information has changed, and only if
so, process an implicit payee modification. An implicit payee change must cause the server to create and
store a <PAYEEMODRS>, to be returned to the client in subsequent payee synchronization responses.
Since the change was not generated by an explicit request, the <TRNUID> in these responses will be zero.
In addition to the above, a payee change (implicit or otherwise) may also affect models and their future
(though not pending) payments. Thus, for any model that is affected by an explicit or implicit payee
modification, the server must create and store a <RECPMTMODRS>, to be returned to the client in
subsequent recurring payment synchronization responses. The <TRNUID> in this response will be zero.
12.3 Identifiers Used in Payment Transactions
Payment transactions use four types of identifiers. It is important to understand the purpose, scope, and life
span of these identifiers.
The client-to-request messages assign the Transaction Universal Identifier <TRNUID>. Its purpose is to
allow the client to easily match responses from the server to their corresponding requests. A given
transaction ID is used only for a client request and the corresponding server response.
The Server Identifier, <SRVRTID> or <RECSRVRTID>, is assigned by the server to a payment “object,”
which can either be a payment or a recurring payment model (in which case it is named
<RECSRVRTID>). Both the client and server use the ID thereafter to refer to the payment or model in any
transactions that operate on them. For example, the <SRVRTID> is used to identify a payment in a request
to modify or cancel it. The <SRVRTID> is valid for the life span of the payment within the payment
system. Similarly the <RECSRVRTID> is valid as long as the associated model exists, that is until the
model generates all payments, or the model is canceled. Once a server processes a payment or a model
generates all its required payments, the associated <SRVRTID> (or <RECSRVRTID>) is no longer
known to the server. Note that the payment system might continue to maintain knowledge of a payment
<SRVRTID> or model <RECSRVRTID> for some specified period after it completes processing. This
allows clients to access the “completed” status of these operations.
348 12.3 Identifiers Used in Payment Transactions
A payment system can assign the Payee Identifier <PAYEEID> to a payee. There is no requirement that all
or any payees are assigned a <PAYEEID>. The usage of this identifier will vary by payment system. For
example, in “pay-some” systems usually every payee has a payee ID with a scope that is known globally,
while in “pay-any” systems there might only be <PAYEEID>s assigned to standard payees. When a payee
has an assigned <PAYEEID>, the life span of the ID will depend on its scope. If the scope is global, such
as for payees in some “pay-some” systems or those with standard payees, then the <PAYEEID> is
expected to be valid as long as that payee is identifiable by ID. If the payee ID is user-specific in scope,
then the <PAYEEID> is valid as long as the payee appears in the users server-hosted payee list.
The Payee List Identifier <PAYEELSTID> is assigned by the server to each entry in a users server-hosted
payee list. The need for this identifier is to support the variety of payee models employed in various
payment systems. As discussed above, some payment systems assign a payee identifier <PAYEEID> to
every payee (this is particularly the case with pay-some systems); others assign <PAYEEID>s only to
standard payees. There are also systems that cannot map a payee billing address to a <PAYEEID> in real
time. Also, there are systems that can convert a payee from a standard payee with an assigned
<PAYEEID> to one that is identified only by billing address. Therefore, systems employ the
<PAYEELSTID> to insure that, in systems where payees will not always have a <PAYEEID>, there is
another identifier that can be used to reference every payee. This insures that a client can correctly link
payments to their payees. The <PAYEELSTID> must be valid as long as the users payee list includes the
payee it identifies, even if the server subsequently assigns a <PAYEEID> to the payee. In order to ensure
that <PAYEELSTID>s are unambiguous to the client, <PAYEELSTID> must be unique for all classes of
a particular <SPNAME> and <USERID>. Therefore, a given payment provider may use
<PAYEELSTID>12345 to refer to ABC Rentals for one <USERID>, and XYZ Cable for a different
<USERID>. Likewise, a client cannot assume that <PAYEELSTID>54321 at payment provider 1 will
refer to the same payee as <PAYEELSTID>54321 at payment provider 2.
Note: If a service provider allows the sharing of accounts between users, the scope of
<PAYEELSTID> must be stricter than that described above. For a single account it is
important that references to a payee by <PAYEELSTID> do not resolve to more than one
physical payee. The same <PAYEELSTID> must map to the same corresponding payee
billing description and payee name <NAME>. For example, <PAYEELSTID>12345 may be
used for ABC Rentals for one user of an account. If the same account is used for a second user,
<PAYEELSTID>12345 cannot be used for XYZ Supplies. Conversely, if two or more users
share an account, any duplicated payees in each payee list must map to the same
<PAYEELSTID>. Servers must ensure the integrity of the payee list for shared accounts, either
by issuing a different userid for such accounts or by issuing payee and payment deletes
followed by payee and payment adds to correct the payee list and update the payment history
when two payee lists are merged. In the latter case, payees added by each user must be
reconciled with the shared payee list on an ongoing basis
OFX 2.1.1 Specification 3495/1/06
12.4 The Payment Life Cycle
12.4.1 Payment Creation
The client formulates a <PMTRQ> that includes the payee, the date, the amount of the payment, the
funding account, and the users account number with the payee. If supported by the users payment system,
the billing address can specify the payee.
The server will look up the payee in the users payee list. If it is not already in the table, the server will add
it and issue a payee list identifier <PAYEELSTID>. This form of payment request performs an implicit
Payee Request <PAYEERQ>, which is equivalent to explicitly adding the payee (by means of a
<PAYEERQ>), prior to issuing the <PMTRQ>. It has the advantage of being atomic. If the payment
request fails, the payee is not added to the users payee list. Conversely the payment request will fail if the
payee information is invalid.
The server responds to the <PMTRQ> with a Payment Response <PMTRS>. Some servers will not be able
to immediately return a payee ID at this point, or might not issue payee IDs for all payees. Therefore the
<PAYEELSTID> contained in the response functions as the linkage between the payee and the payment.
Payment systems use the <SRVRTID> returned in the <PMTRS> to identify the payment for the length of
its instantiation on the payment system.
Note: Servers should generate explicit responses to implicit requests. In other words, implicit
payee additions or modifications resulting from a new or changed payment should generate
explicit payee add or payee change responses from the server. Such explicit responses are only
returned to the client in a SYNC response. If the payment transactions containing implicit
payee additions or modifications fail, then the payee actions are not executed, since such a
compound payment transaction represents a single unit of work (comprised of both payee and
payment actions).
12.4.2 Payment Modification
Between the time the client schedules a payment and the time the server processes the payment, the client
can request changes to the parameters of that payment. For example, the amount or date of the payment
can be modified. The system uses the Payment Modification Request <PMTMODRQ> for this purpose,
where the <SRVRTID> from the <PMTRS> identifies the targeted payment. The user request must
specify the full contents of the payment request, including both modified and unmodified data.
Full-featured servers will use <PMTMODRS> messages, conveyed to the client during synchronization
<PMTSYNCRS>, to inform the client about changes in the state of the client that occur due to server
processing. This would include reporting the date the server actually processed a payment, or it failed due
to insufficient funds. Servers that are unable to generate <PMTMODRS> responses for this purpose must
support the <PMTINQRQ> message described below.
350 12.4 The Payment Life Cycle
12.4.3 Payment Status Inquiry
As a scheduled payment progresses through its “life-cycle” on the server, the processing status changes
accordingly from “scheduled to be processed” to “was processed” or “failed processing.” A processing
date is associated with these states. The preferred method for providing updated processing status to a
client is by use of server-generated Payment Modification messages <PMTMODRS>, as discussed above.
However it is possible that less full-featured servers might have difficulty in implementing this form of
notification. In this case, OFX requires such servers to implement the Payment Status Inquiry message
<PMTINQRQ>, which provides an interface for the client to explicitly request the processing status of
individual payments.
12.4.4 Payment Cancellation
In the interval between successful processing of a <PMTRQ> and the actual processing of the payment,
the client can cancel the payment by issuing a Payment Cancellation Request <PMTCANCRQ>. The
<SRVRTID> value returned in <PMTRS> identifies the payment.
When a payment system cancels a payment, servers can generate a <PMTCANCRS>. This might occur if
the user requests payment cancellation by way of a telephone call to customer support or through an e-mail
message. The client will receive this response when performing a payment synchronization
<PMTSYNCRQ>/<PMTSYNCRS>.
12.4.5 Delayed Payee Matching
Payment systems that allow payment by payee billing address often perform a matching operation to
determine if the payee is a standard payee. If this matching occurs in the processing of a <PMTRQ>, and
the server recognizes the payee as a standard one, then the server returns the payee ID and payment
parameters in the <EXTDPAYEE> aggregate of the <PMTRS>. However some payment systems will not
be able to perform “payee matching” at this point in processing. In this case, the server sends updated
payee information to the client by using <PAYEESYNCRS> to synchronize the payee list. The client can
link payee information in the <PAYEESYNCRS> messages to payments with matching <PAYEELSTID>
identifiers.
OFX 2.1.1 Specification 3515/1/06
12.5 Common Payments Aggregates
This section documents several aggregates used throughout the Payments portion of the OFX
specification.
12.5.1 Payments Account Information <BPACCTINFO>
OFX uses the payments account information aggregate to download account information from an FI. It
includes account number specification in <BANKACCTFROM> as well as the status of the service. In
OFX, Banking and Payments share the <BANKACCTFROM> aggregate to identify a specific account.
For more information, see section
11.3.1.
Tag Description
<BPACCTINFO>
Payments-account-information aggregate
<BANKACCTFROM>
Bank-account-from aggregate, see section 11.3.1
</BANKACCTFROM>
<SVCSTATUS>
Status of the account
AVAIL = Available, but not yet requested
PEND = Requested, but not yet available
ACTIVE = In use
</BPACCTINFO>
352 12.5 Common Payments Aggregates
12.5.2 Payment Information <PMTINFO>
The Payment Information aggregate is used to specify detailed payment information. It is used for both
single payments and recurring payments. Clients must send the <PAYEELSTID> and <PAYEEID> if
known. See section
12.2.4 on identifying payees, above. The <EXTDPMT> aggregate (see section 12.5.2.2)
allows the inclusion of disbursement instructions to be printed with the payment. This aggregate is
optional.
In the case of an implicit add, the returned <PMTINFO> aggregate found in <PMTRS> and
<RECPMTRS> must include the generated <PAYEELSTID>. This aggregate may also include
<EXTDPMT> information.
The <DTDUE> in a response may have been adjusted by a server. For example, the server may adjust
<DTDUE> to comply with non-processing days. If a client sends a request to make a transfer on July 4 and
July 4 happens to be a non-processing day, the <DTDUE> in the response may be July 4 (because the
server hasn’t adjusted it yet), July 5 (because this server rolls dates forward), or some other date.
Tag Description
<PMTINFO>
<BANKACCTFROM>
Account-from aggregate, see section 11.3.1
</BANKACCTFROM>
<TRNAMT>
Payment amount, amount
This amount should be specified as a positive number
Specify payee; either
<PAYEEID> or
<PAYEE>.
<PAYEEID>
Server payee identifier (required if assigned). Either <PAYEEID> or <PAYEE>
can be sent, but not both. A-12
<PAYEE>
Complete payee billing information, see section 12.5.2.1.
Either <PAYEEID> or <PAYEE> can be sent, but not both.
</PAYEE>
<PAYEELSTID>
Payee list ID (required if assigned), A-12
<BANKACCTTO>
Destination account (see section 11.3.1) information for systems that pay by
transfers (<PAYEE> also required)
</BANKACCTTO>
<EXTDPMT>
Zero or more extended Payment aggregates, see section 12.5.2.2
Note: Although PMTINFO allows multiple occurrences of EXTDPMT, it is
recommended that multiple invoices be expressed using multiple occurrences of the
INVOICE aggregate.
OFX 2.1.1 Specification 3535/1/06
</EXTDPMT>
<PAYACCT>
User account number with the payee, A-32
<DTDUE>
Payment due date or the date by which payment must be received by payee,
datetime
<MEMO>
Memo from user to payee, memo
<BILLREFINFO>
Biller-supplied reference information when paying a bill, if available, A-80
Note: If the client user interface has a single field that can contain either free-
form memo text or a structured reference number, then the contents of that field
should be passed in the <MEMO> element rather than the <BILLREFINFO>
element.
<BILLPUBINFO>
Bill publisher information aggregate for the payment
<BILLPUB>
Name of the bill publisher associated with this payee for this payment at the service
provider, A-32
<BILLID>
ID of the bill assigned by the bill presentment service provider to which this
payment is being applied, A-32
</BILLPUBINFO>
</PMTINFO>
Tag Description
354 12.5 Common Payments Aggregates
12.5.2.1 Payee <PAYEE>,
<PAYEE> specifies a complete billing address for a payee.
Tag Description
<PAYEE>
<NAME>
Name of payee. A-32
<ADDR1>
Payee’s address line 1, A-32
<ADDR2>
Payee’s address line 2, A-32
<ADDR3>
Payee’s address line 3. Use of <ADDR3> requires the presence of <ADDR2>, A-32
<CITY>
Payee’s city, A-32
<STATE>
Payee’s state, A-5
<POSTALCODE>
Payee’s postal code, A-11
<COUNTRY>
Payee’s country; 3-letter country code from ISO/DIS-3166, A-3
<PHONE>
Payee’s telephone number, A-32
</PAYEE>
12.5.2.2 Extended Payment <EXTDPMT>
The Extended Payment aggregate provides the payee with information for applying a payment across
multiple invoices. It is structured to allow for electronic processing of the invoice data, and allows multiple
invoices, as well as multiple line items per invoice, to be specified.
In this case, <EXTDPMT> can specify a block of free text to be transmitted with the payment, by using the
<EXTDPMTDSC> instead of the <EXTDPMTINV> element.
Tag Description
<EXTDPMT>
Extended Payment aggregate
<EXTDPMTFOR>
INDIVIDUAL or BUSINESS. Indicates whether the payment is for an individual
or business account. This allows the payment processor to remit payments to the
appropriate address for consumers or businesses.
<EXTDPMTCHK>
Check number to use for this payment. Overrides “next check in range.” N-10
Payment description. At least
one of the following:
<EXTDPMTDSC>, or
<EXTDPMTINV>.
<EXTDPMTDSC>
Free text to communicate with the payment, A-255
OFX 2.1.1 Specification 3555/1/06
<EXTDPMTINV>
<INVOICE>
One or more invoice aggregates. See section 12.5.2.3
</INVOICE>
</EXTDPMTINV>
</EXTDPMT>
Tag Description
356 12.5 Common Payments Aggregates
12.5.2.3 Invoice Description <INVOICE>
Tag Description
<INVOICE>
Start tag for the invoice aggregate. There can be one or more invoices per
payment request.
<INVNO>
Invoice number associated with the payment. A-32
<INVTOTALAMT>
This value represents the total invoice amount, amount
This amount should be specified as a positive number
<INVPAIDAMT>
This value represents the amount of the invoice being paid, amount
This amount should be specified as a positive number
<INVDATE>
Date to apply the invoice, datetime
<INVDESC>
Invoice description, A-80
<DISCOUNT>
Discount aggregate; only one discount aggregate per invoice
<DSCRATE>
Discount rate, rate
<DSCAMT>
Discount amount, amount
This amount should be specified as a positive number
<DSCDATE>
Date to apply the discount, datetime
<DSCDESC>
Discount description, A-80
</DISCOUNT>
<ADJUSTMENT>
Adjustment aggregate; only one adjustment aggregate per invoice, see 12.5.2.4
</ADJUSTMENT>
<LINEITEM>
Line item aggregate; there can be multiple line items per invoice, see 12.5.2.5
</LINEITEM>
</INVOICE>
OFX 2.1.1 Specification 3575/1/06
12.5.2.4 <ADJUSTMENT>
Tag Description
<ADJUSTMENT>
<ADJNO>
Adjustment number associated with the payment, A-32
<ADJDESC>
Adjustment description, A-80
<ADJAMT>
Amount of the adjustment, amount
This amount should be signed + or -, as appropriate. A positive adjustment means
that the payment amount has been reduced.
<ADJDATE>
Date of adjustment, datetime
</ADJUSTMENT>
12.5.2.5 <LINEITEM>
Tag Description
<LINEITEM>
Line item aggregate; there can be multiple line items per invoice
<LITMAMT>
Amount of the line item, amount
This amount should be signed + or -, as appropriate. A positive line item amount
is an addition to the payment amount, and a negative line item is a discount or
reduction in the payment amount.
<LITMDESC>
Line item description, A-80
</LINEITEM>
358 12.5 Common Payments Aggregates
12.5.2.6 Extended Payee <EXTDPAYEE>
The Extended Payee aggregate communicates a payee identifier to the client. It also contains the
processing day parameters for a payee. It can be sent to the client for any payee whose processing day
parameters are different from the processors default values, even for payees with no <PAYEEID>.
Tag Description
<EXTDPAYEE>
Extended-payee aggregate
<PAYEEID>
Server-assigned payee ID, A-12
If <PAYEEID> is present, <IDSCOPE> and <NAME> are required. Should not be
included unless the payee is a standard payee.
<IDSCOPE>
Scope of the payee ID; one of (GLOBAL, USER), where
GLOBAL = payee ID valid across the entire payment system
USER = payee ID valid with all FI accounts set up for the users payments account
Required if <PAYEEID> is present.
<NAME>
Standard payee name, A-32
Required if <PAYEEID> is present.
<DAYSTOPAY>
Minimum number of business days needed to process, N-3
</EXTDPAYEE>
12.5.2.7 Payment Processing Status <PMTPRCSTS>
The Payment Processing Status aggregate contains the current processing status for a payment. This
aggregate is intended to describe status changes to the associated payment after creation. The interpretation
of the date value depends on the value of <PMTPRCCODE>.
Tag Description
<PMTPRCSTS>
<PMTPRCCODE>
See table 12.6.2.1
<DTPMTPRC>
Payment processing date; interpretation depends on <PMTPRCCODE>, datetime
</PMTPRCSTS>
Ending tag for payment processing status
OFX 2.1.1 Specification 3595/1/06
12.6 Payments Functions
Payments functions allow a client to create a Payment Request to pay a bill on a specified date. The
Payment Request identifies the payee and the amount to pay. Because the flow of money is unambiguous,
bill payment amounts are usually specified as positive numbers. See tables for details.
Client Sends Server Responds
Account information
Payment date
Amount
Payee address, list ID,
transfer acct, or standard
ID
Payment status
Check number
Server-assigned ID
From the time the client issues a Payment Request until it is paid, the client can modify the transaction
through the Payment Modification Request, <PMTMODRQ>; see section
12.4.2. This request allows
payment parameters such as the payment date and payment amount to be changed.
Client Sends Server Responds
Account information
Server-assigned ID
Information to change:
Payment date,
Amount,...
Acknowledgment or Error
The client can cancel a Payment Request with a Payment Cancellation Request, <PMTCANCRQ>; see
section
12.4.4.
Client Sends Server Responds
Account information
Server-assigned ID
Acknowledgment or Error
360 12.6 Payments Functions
12.6.1 Payment Creation
A Payment Request is used to schedule an electronic payment. The server responds with a Payment
Response. Separate transactions are provided for modifying and canceling a Payment Request.
12.6.1.1 Payment Request <PMTRQ>
The <PMTRQ> request must appear within a <PMTTRNRQ> transaction wrapper.
Tag Description
<PMTRQ>
Payment-request aggregate
<PMTINFO>
Payment Information aggregate, see section 12.5.2
</PMTINFO>
</PMTRQ>
Note: If the <PMTRQ> created a new payee or modified an existing one, the server must
create and store a payee response that would be available for subsequent payee synchronization
requests. In addition, the server should be aware of the fact that implicit payee modifications
may affect models. Such changes to models must also appear in subsequent recurring
synchronization responses. In all cases, the server need only send the <PMTRS> as a response
to the <PMTRQ>, but any implicit payee and recurring changes must be made by the server,
and be returned in later synchronization responses. See section
12.2.5 for further discussion of
implicit payee adds and modifications.
12.6.1.2 Payment Response <PMTRS>
The server sends a Payment Response in response to a Payment Request. The processing status code for a
new payment is normally WILLPROCESSON, but in the case of synchronization it can return other status
codes. Servers should inform clients of any errors found while processing this transaction using the
<STATUS> aggregate. A response containing <STATUS><CODE>0 and
<PMTPRCSTS><PMTPRCCODE>FAILEDON should be avoided for problems such as an invalid
account or amount.
The <PMTRS> response must appear within a <PMTTRNRS> transaction wrapper.
Note: When processing a <PMTRQ> request that does not contain a <PAYEEID> or
<PAYEELSTID>, a server may check the payee against the user's current payee list and return
the found <PAYEELSTID> and <PAYEEID> (if any). If the server does this, it should only
find a match when all <PAYEE> data, including all <PAYACCT> elements, match exactly. If
the <PAYACCT> or any other element is different, the server must perform an implicit payee
addition. If a server doesn’t check for duplicate payees, a client could show duplicate entries in
the payee list.
OFX 2.1.1 Specification 3615/1/06
Note: Servers matching well-known payees against entries in a user's payee list must ignore
the <PAYACCT> information in the user's list. No corresponding information appears in the
list of well-known payees.
Tag Description
<PMTRS>
Payment-response aggregate
<SRVRTID>
ID assigned by the server to the payment being created, SRVRTID
<PAYEELSTID>
Server-assigned payee list record ID for this payee, A-12
Note: This identifier must match that found (and required) in the
returned <PMTINFO>.
<CURDEF>
Default currency for the Recurring Payment Response, currsymbol
<PMTINFO>
Payment Information aggregate, see section 12.5.2
</PMTINFO>
<EXTDPAYEE>
Standard payee information if payee is a standard payee, or payee has
non-default processing day parameters; see section 12.5.2.6
</EXTDPAYEE>
<CHECKNUM>
Check number, A-12
<PMTPRCSTS>
Payment processing status
</PMTPRCSTS>
<RECSRVRTID>
References the payment if it was generated by a recurring payment,
SRVRTID
</PMTRS>
362 12.6 Payments Functions
12.6.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date
<TOKEN> (ERROR)
10501 Invalid payee (ERROR)
10502 Invalid payee address (ERROR)
10503 Invalid payee account number (ERROR)
10510 Invalid payee ID (ERROR)
10511 Invalid payee city (ERROR)
10512 Invalid payee state (ERROR)
10513 Invalid payee postal code (ERROR)
10517 Invalid payee name (ERROR)
10519 Invalid payee list ID (ERROR)
OFX 2.1.1 Specification 3635/1/06
12.6.1.4 Discussion
Once the server has assigned a payee identifier <PAYEEID> to the payee, it includes the <EXTDPAYEE>
in any <PMTRS> for that transaction. If the <EXTDPAYEE> aggregate is present in the Payment
Response <PMTRS>, the client records the standard payee information for use in future payments to the
same payee.
When a payment is made using the <PAYEE> aggregate, and no <PAYEELSTID> is present, the payee is
implicitly added to the payee list. This is therefore equivalent to first transmitting a <PAYEERQ> for the
payee. For payment systems that can immediately return payee IDs, it is preferable to use the single
<PMTRQ> message to both add the payee and create the payment. If either operation fails, the server will
not complete the other.
If <PAYEELSTID> and <PAYEE> are both included, it is equivalent to sending a <PAYEEMODRQ>. In
<BILLPAYMSGSRSV1>, the server must return a <PAYEEMODRS> in a subsequent
<PAYEESYNCRS> for all actual changes. This is not necessary (though still allowed) if no change were
made.
The <PMTRS> response will include the <EXTDPAYEE> aggregate if the processor has assigned a payee
ID to the payee specified in the payment. It will also appear in the response when the payee has no
assigned ID, but has processing day parameters that different from the processors defaults for these
values. This might occur, for instance, if the processor notes that the postal code of the payee indicates a
certain proximity to the payer, and therefore wishes to offer a shorter <DAYSTOPAY> value.
12.6.2 Payment Modification
The Payment Modification Request allows a client to modify a previously scheduled payment. Once
created and retrieved by the customer, spawned payments are almost identical to customer-created
payments. (The exception is when a spawned payment is modified or cancelled due to a recurring
modification or cancellation request.) As with ordinary payments, you can cancel or modify transactions
individually. When modifying a payment, the client must specify all of the elements and aggregates within
the <PMTINFO> aggregate that were specified during the payment creation or previous modification, not
just the elements and aggregates that it wants to modify. Some servers cannot support the modifications of
certain values. Servers must indicate this by returning status code 10505 when the client requests an
unsupported modification.
364 12.6 Payments Functions
12.6.2.1 Payment Processing Status Values <PMTPRCCODE>
Value Description
WILLPROCESSON Will be processed on <DTPMTPRC>
PROCESSEDON Was processed for payment on <DTPMTPRC>
NOFUNDSON Funds not available to make payment on <DTPMTPRC>
FAILEDON Unable to make payment for unspecified reasons on <DTPMTPRC>
CANCELEDON User canceled payment on <DTPMTPRC>
12.6.2.2 Payment Modification Request <PMTMODRQ>
The client sends a Payment Modification Request to request modification of a payment. The client must
provide the full <PMTINFO> including both changed and unchanged values.
The client may modify any data in <PMTINFO> except the recipient or funding account. In particular,
payee list ID <PAYEELSTID>, payee ID <PAYEEID>, funding bank account <BANKACCTFROM>,
and the <NAME> element of <PAYEE> must match that returned in the original <PMTRS>. Implicit
payee modifications (changes in address information for example) are allowed.
If the <PMTMODRQ> caused a payee modification to an existing payee, the server must create and store
a <PAYEEMODRS> to be returned in subsequent payee synchronization responses. If the
<PMTMODRQ> created a new payee (possible only if the payment were originally created outside of the
OFX protocol), the server must, similarly, create and store a <PAYEERS> for later payee synchronization
responses. In addition, the server should be aware of the fact that implicit payee modifications may affect
models. Such changes to models must also appear in subsequent recurring synchronization responses. In
all cases, the server need only send the <PMTMODRS> as a response to the <PMTMODRQ>, but any
implicit payee and recurring changes must be made by the server, and be returned in later synchronization
responses. See section
12.2.5 for further discussion of implicit payee adds and modifications.
OFX 2.1.1 Specification 3655/1/06
The <PMTMODRQ> request must appear within a <PMTTRNRQ> transaction wrapper.
Tag Description
<PMTMODRQ>
Modification-request this references
<SRVRTID>
ID assigned by the server to the payment being modified, SRVRTID
<PMTINFO>
Payment Information aggregate, see section 12.5.2
</PMTINFO>
</PMTMODRQ>
12.6.2.3 Payment Modification Response <PMTMODRS>
The server sends a Payment Modification Response in response to a Payment Modification Request.
The <PMTMODRS> response must appear within a <PMTTRNRS> transaction wrapper.
Tag Description
<PMTMODRS>
Payment-modification-response this references
<SRVRTID>
ID assigned by the server to the payment being modified, SRVRTID
<PMTINFO>
Payment Information aggregate, see section 12.5.2
</PMTINFO>
<PMTPRCSTS>
Payment processing status, see section 12.5.2.7
</PMTPRCSTS>
</PMTMODRS>
366 12.6 Payments Functions
12.6.2.4 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date <TOKEN> (ERROR)
10501 Invalid payee (ERROR)
10502 Invalid payee address (ERROR)
10503 Invalid payee account number (ERROR)
10505 Cannot modify element (ERROR)
10510 Invalid payee ID (ERROR)
10511 Invalid payee city (ERROR)
10512 Invalid payee state (ERROR)
10513 Invalid payee postal code (ERROR)
10514 Transaction already processed (ERROR)
10517 Invalid payee name (ERROR)
10519 Invalid payee list ID (ERROR)
OFX 2.1.1 Specification 3675/1/06
12.6.2.5 Discussion
Servers can initiate <PMTMODRS> messages to communicate changes in the processing status of a
payment as it moves through the payment system. This mechanism allows a client to capture the updated
status of payments every time it synchronizes.
Implicit payee changes contained in a payment modification transaction do not affect any other existing
pending payments. The changes are propagated to the servers payee list and affect payments to that payee
as subsequently initiated by the client after the change, or as subsequently spawned from a recurring
model. Explicit payee changes are not propagated to payments pending for the changed payee at the time
of the change.
12.6.3 Payment Cancellation
The Payment Cancellation Request allows a client to cancel a previously scheduled payment created with a
Payment Request (<PMTRQ> in section
12.6.1.1).
Servers cannot initiate <PMTCANCRS> when communicating status changes. This response should be
used only when a payment was actually cancelled (by an OFX client or at users request via the phone).
When conveying information about a failure in payment processing (such as insufficient funds), a
<PMTMODRS> (with the updated <PMTPRCSTS>) should be added to the next <PMTSYNCRS>
download.
12.6.3.1 Request <PMTCANCRQ>
The client sends a Payment Cancellation to cancel a scheduled payment request.
The <PMTCANCRQ> request must appear within a <PMTTRNRQ> transaction wrapper.
Tag Description
<PMTCANCRQ>
Cancellation-request this references
<SRVRTID>
ID assigned by the server to the payment being cancelled, SRVRTID
</PMTCANCRQ>
368 12.6 Payments Functions
12.6.3.2 Response <PMTCANCRS>
The server sends a Payment Cancellation Response in response to a Payment Cancellation Request.
The <PMTCANCRS> response must appear within a <PMTTRNRS> transaction wrapper.
Tag Description
<PMTCANCRS>
Cancellation-response this references
<SRVRTID>
ID assigned by the server to the payment being canceled, SRVRTID
</PMTCANCRS>
12.6.3.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date
<TOKEN> (ERROR)
10514 Transaction already processed (ERROR)
OFX 2.1.1 Specification 3695/1/06
12.6.4 Payment Status Inquiry
The Payment Status Inquiry Request allows a client to obtain the current processing status of a payment
from the server.
12.6.4.1 Request <PMTINQRQ>
The client sends a Payment Status Inquiry Request to obtain the current processing status of a payment.
The <PMTINQRQ> request must appear within a <PMTINQTRNRQ> transaction wrapper.
Tag Description
<PMTINQRQ>
Payment-status-inquiry-request aggregate
<SRVRTID>
ID assigned by the server to the payment being queried, SRVRTID
</PMTINQRQ>
12.6.4.2 Response <PMTINQRS>
The server sends a Payment Status Inquiry Response in response to a Payment Status Inquiry Request.
The <PMTINQRS> response must appear within a <PMTINQTRNRS> transaction wrapper.
Tag Description
<PMTINQRS>
Payment-status-inquiry-response aggregate
<SRVRTID>
ID assigned by the server to the payment being queried, SRVRTID
<PMTPRCSTS>
Payment processing status
</PMTPRCSTS>
<CHECKNUM>
Check number assigned by the server to this payment, A-12
</PMTINQRS>
370 12.7 Recurring Payments
12.6.4.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date
<TOKEN> (ERROR)
12.7 Recurring Payments
Recurring payments are used when a payment is to be made repeatedly at some known interval. Setting up
a recurring payment is similar to creating an individual payment, but with additional information about the
frequency and number of payments. After a recurring payment is created, the server will generate
payments transactions when there are a specified number of days remaining until the next projected
payment is due (usually 30 days). The client will be made aware of any generated payment transactions
through the synchronization process.
Chapter 10, "Recurring Transactions" and Chapter 11, "Banking,"
provide additional details on models and recurring transactions, and define the recurring transaction
aggregates.
Note: As with individual payments, if the recurring payment request adds a payee or changes
payee information, the server must create and store a payee response, to be returned in
subsequent payee synchronization responses. Furthermore, implicit payee modifications may
affect other models (but not their pending payments). The server must also create and store
recurring modification responses for these models, to be returned in subsequent recurring
synchronization responses. See section 12.2.5 for further discussion of implicit payee adds and
changes.
Note: The <MODELWND> profile value indicates when the server spawns a payment. If
<MODELWND>0 is specified, the server only spawns one payment at a time for each model.
In other words, there is always one pending payment per model, unless the model has expired.
If <MODELWND> is greater than 0, its value is the number of days before a payment is due to
be paid that it is spawned from the model. In this case, it is possible to have zero or more
pending payments instantiated at a time.
OFX 2.1.1 Specification 3715/1/06
The table below lists the functional elements for creating a recurring payment:
Client Sends Server Responds
Account information
Payment frequency
Number of payments
Payment date
Amount
Payee address, list ID or
payee ID
Standard payee information
Server-assigned ID
The table below lists the functional elements for modifying a recurring payment:
Client Sends Server Responds
Account information
Server-assigned ID
Information to change:
Payment frequency,
Number of payments,
Payment date,
Amount,...
Acknowledgment or Error
The table below lists the functional elements for canceling a recurring payment:
Client Sends Server Responds
Account information
Server-assigned ID
Acknowledgment or Error
372 12.7 Recurring Payments
12.7.1 Creating a Recurring Payment
Use a Recurring Payment Request to set up a recurring electronic payment. The user can specify the
frequency and duration of the payments using the Recurring Instructions aggregate <RECURRINST>. The
<PMTINFO> aggregate (see section
12.5.2) specifies the payment information for the model, as well as
the initial and final amounts (if present and where applicable).
12.7.1.1 Request <RECPMTRQ>
The <RECPMTRQ> request must appear within a <RECPMTTRNRQ> transaction wrapper.
Tag Description
<RECPMTRQ>
Recurring-payment-request aggregate
<RECURRINST>
Recurring Instructions aggregate, see section 10.2.
</RECURRINST>
<PMTINFO>
Payment-information aggregate, see section 12.5.2
</PMTINFO>
<INITIALAMT>
Amount of the initial payment, if different than the following payments, amount
This amount should be specified as a positive number
<FINALAMT>
Amount of the final payment, if different than the preceding payments, amount
This amount should be specified as a positive number
</RECPMTRQ>
OFX 2.1.1 Specification 3735/1/06
12.7.1.2 Response <RECPMTRS>
The server sends a Recurring Payment Response upon receipt of a Recurring Payment Request.
The <RECPMTRS> response must appear within a <RECPMTTRNRS> transaction wrapper.
Tag Description
<RECPMTRS>
Recurring-payment-response aggregate
<RECSRVRTID>
Server-assigned ID for this transaction, SRVRTID
<PAYEELSTID>
Server-assigned record ID for this payee record, A-12
Note: This identifier must match that found (and required) in the returned
<PMTINFO>.
<CURDEF>
Default currency for the Recurring Payment Response, currsymbol
<RECURRINST>
Recurring-instructions aggregate, see section 10.2.
</RECURRINST>
<PMTINFO>
Payment-information aggregate, see section 12.5.2
</PMTINFO>
<INITIALAMT>
Amount of the initial payment, if different than the following payments, amount
This amount should be specified as a positive number
<FINALAMT>
Amount of the final payment, if different than the preceding payments, amount
This amount should be specified as a positive number
<EXTDPAYEE>
Extended payee information, see section 12.5.2.6.
</EXTDPAYEE>
</RECPMTRS>
374 12.7 Recurring Payments
12.7.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
2015 Date too far in future (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date
<TOKEN> (ERROR)
10501 Invalid payee (ERROR)
10502 Invalid payee address (ERROR)
10503 Invalid payee account number (ERROR)
10508 Invalid frequency (ERROR)
10510 Invalid payee ID (ERROR)
10511 Invalid payee city (ERROR)
10512 Invalid payee state (ERROR)
10513 Invalid payee postal code (ERROR)
10517 Invalid payee name (ERROR)
10519 Invalid payee list ID (ERROR)
OFX 2.1.1 Specification 3755/1/06
12.7.1.4 Discussion
The <DTDUE> element of <PMTINFO> specifies payment due date or the date by which the first
payment must be received by payee (see section
12.5.2).
The <DTDUE> in a response may have been adjusted by a server. For example, the server may adjust
<DTDUE> to comply with non-processing days. If a client sends a request to make a transfer on July 4 and
July 4 happens to be a non-processing day, the <DTDUE> in the response may be July 4 (because the
server hasn’t adjusted it yet), July 5 (because this server rolls dates forward), or some other date. For this
reason, a client should pay attention to the <DTDUE> in the response.
12.7.2 Recurring Payment Modification
The client sends a Recurring Payment Modification Request to request modifications to a recurring
payment previously created with a Recurring Payment Request. The payment frequency
<RECURRINST>, the payment parameters <PMTINFO>, or both, can be changed.
12.7.2.1 Request <RECPMTMODRQ>
The client sends a Recurring Payment Modification Request to request changes to a recurring payment
model.
The client may modify any data in <PMTINFO> except the recipient or funding account. In particular,
payee list ID <PAYEELSTID>, payee ID <PAYEEID>, funding bank account <BANKACCTFROM>,
and the <NAME> element of <PAYEE> must match that returned in the original <RECPMTRS>. Implicit
payee modifications (changes in address information for example) are allowed. Clients can modify both
elements in the <RECURRINST> aggregate (i.e. <NINSTS> and <FREQ>). Client should send the
original number of payments scheduled if there is no change. If there is a change in the number of
payments scheduled, clients should send the new number of payments.
A <RECPMTMODRQ> that modifies pending payments via the <MODPENDING> flag is a compound
transaction and the server should create and store <PMTMODRS>s, which are returned to the client in
subsequent payment synchronization responses. For example, a change to the <TRNAMT> element would
cause the server to create and store a <PMTMODRS> for each pending payment, to be returned in a
subsequent payment synchronization response. Changes to payment information apply to all future
payments.
Note: The <RECPMTMODRQ> element may implicitly modify a payee. A payee
modification can, in turn, modify other existing models (though not their pending payments).
In such cases, the server must create and store the appropriate responses (<PAYEEMODRS>
and, possibly, additional, <RECPMTMODRS>), to be returned to the client in subsequent
synchronization responses. See section
12.2.5 for further discussion of implicit payee adds and
changes. If the <RECPMTMODRQ> created a new payee (this is only possible if the payment
were originally created outside of the OFX protocol), the server must create and store a
<PAYEERS> that would be available for a payee synchronization request. In all cases, the
server need only send the <RECPMTMODRS> as a response to the <RECPMTMODRQ>, but
376 12.7 Recurring Payments
any implicit payee and recurring changes must be made by the server, and be returned in later
synchronization responses.
The <RECPMTMODRQ> request must appear within a <RECPMTTRNRQ> transaction wrapper.
Tag Description
<RECPMTMODRQ>
Modification-request aggregate
<RECSRVRTID>
ID assigned by the server to the payment being modified, SRVRTID
<RECURRINST>
Recurring Instructions aggregate, see section 10.2
</RECURRINST>
<PMTINFO>
Payment-Information aggregate, see section 12.5.2
</PMTINFO>
<INITIALAMT>
Amount of the initial payment, if different than the following payments, amount
This amount should be specified as a positive number
<FINALAMT>
Amount of the final payment, if different than the preceding payments, amount
This amount should be specified as a positive number
<MODPENDING>
Modify pending flag
If the client sets this flag, the server must modify pending and future payments, Boolean
</RECPMTMODRQ>
OFX 2.1.1 Specification 3775/1/06
12.7.2.2 Response <RECPMTMODRS>
The server sends a Recurring Payment Modification Response in response to a Recurring Payment
Modification Request.
The <RECPMTMODRS> response must appear within a <RECPMTTRNRS> transaction wrapper.
Tag Description
<RECPMTMODRS>
Modification-response aggregate
<RECSRVRTID>
ID assigned by the server to the payment being modified, SRVRTID
<RECURRINST>
Recurring-Instructions aggregate, see section 10.2
</RECURRINST>
<PMTINFO>
Payment-Information aggregate, see section 12.5.2
</PMTINFO>
<INITIALAMT>
Amount of the initial payment, if different than the following payments, amount
This amount should be specified as a positive number
<FINALAMT>
Amount of the final payment, if different than the preceding payments, amount
This amount should be specified as a positive number
<MODPENDING>
Y if the client requested that the server modify pending and future payments. N if the
client did not request that the server modify pending and future payments., Boolean
</RECPMTMODRS>
12.7.2.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Source account not found (ERROR)
2007 Source account closed (ERROR)
2008 Source account not authorized (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2012 Invalid amount (ERROR)
2014 Date too soon (ERROR)
378 12.7 Recurring Payments
2015 Date too far in future (ERROR)
2016 Transaction already committed (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date
<TOKEN> (ERROR)
10501 Invalid payee (ERROR)
10502 Invalid payee address (ERROR)
10503 Invalid payee account number (ERROR)
10505 Cannot modify element (ERROR)
10508 Invalid frequency (ERROR)
10511 Invalid payee city (ERROR)
10512 Invalid payee state (ERROR)
10513 Invalid payee postal code (ERROR)
10514 Transaction already processed (ERROR)
10517 Invalid payee name (ERROR)
10518 Unknown model ID (ERROR)
10519 Invalid payee list ID (ERROR)
Code Meaning
OFX 2.1.1 Specification 3795/1/06
12.7.3 Recurring Payment Cancellation
The client sends a Recurring Payment Cancellation Request to cancel a recurring payment previously
created with a Recurring Payment Request.
12.7.3.1 Request <RECPMTCANCRQ>
The <RECPMTCANCRQ> request must appear within a <RECPMTTRNRQ> transaction wrapper.
Note: A <RECPMTCANCRQ> that cancels pending payments via the <CANPENDING>
flag is a compound transaction, and generates the appropriate explicit payment responses that
reflect such cancellations, which are returned to the client via synchronization.
Tag Description
<RECPMTCANCRQ>
Cancellation-request aggregate
<RECSRVRTID>
ID assigned by the server to the payment being canceled, SRVRTID
<CANPENDING>
Cancel pending flag, Boolean
If Y, server should cancel all pending and unspawned payments. If N, server should
cancel only the model (and unspawned payments).
</RECPMTCANCRQ>
380 12.7 Recurring Payments
12.7.3.2 Response <RECPMTCANCRS>
The server sends a Recurring Payment Cancellation Response in response to a Recurring Payment
Cancellation Request.
The <RECPMTCANCRS> response must appear within a <RECPMTTRNRS> transaction wrapper.
Tag
Description
<RECPMTCANCRS>
Modification-request aggregate
<RECSRVRTID>
ID assigned by the server to the payment being modified, SRVRTID
<CANPENDING>
Cancel pending flag, Boolean
Y if the client requested that the server cancel all pending and unspawned payments. N
if the client requested that the server cancel only unspawned payments.
</RECPMTCANCRS>
12.7.3.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2016 Transaction already committed (ERROR)
2017 Already canceled (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to
out-of-date <TOKEN> (ERROR)
10514 Transaction already processed (ERROR)
10518 Unknown model ID (ERROR)
OFX 2.1.1 Specification 3815/1/06
12.8 Payment Mail
Users can correspond by way of e-mail to resolve problems or ask questions about their payments
accounts. This function makes use of the general OFX e-mail facility, which is described in
Chapter 9,
"Customer to FI Communication."
Note: There is no way to indicate non-support of payment e-mail in the profile. A server that
doesn’t support <PMTMAILSYNCRQ> should return an “empty” payment mail sync response
rather than just ignore the request. This empty sync response includes <TOKEN>0 and no
history.
12.8.1 Payment Mail Request and Response
12.8.1.1 Request <PMTMAILRQ>
The <PMTMAILRQ> allows a client to issue an e-mail to the payments processor. If the message refers to
a specific payment, then both <SRVRTID> and <PMTINFO> are required to identify the payment to the
processor.
The <PMTMAILRQ> request must appear within a <PMTMAILTRNRQ> transaction wrapper.
Tag Description
<PMTMAILRQ>
Payment e-mail-request aggregate
<MAIL>
General e-mail aggregate
</MAIL>
<SRVRTID>
Transaction ID of the payment that is the subject of the correspondence, SRVRTID
<PMTINFO>
Payment Information aggregate, see section 12.5.2
</PMTINFO>
</PMTMAILRQ>
382 12.8 Payment Mail
12.8.1.2 Response <PMTMAILRS>
The server sends <PMTMAILRS> in response to a Payment E-mail request.
The <PMTMAILRS> response must appear within a <PMTMAILTRNRS> transaction wrapper.
Tag Description
<PMTMAILRS>
Payment e-mail-response aggregate
<MAIL>
General e-mail aggregate, see Chapter 9, "Customer to FI Communication."
</MAIL>
<SRVRTID>
Transaction ID of the payment that is the subject of the correspondence, SRVRTID
<PMTINFO>
Payment Information aggregate, see section 12.5.2
</PMTINFO>
</PMTMAILRS>
OFX 2.1.1 Specification 3835/1/06
12.8.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2018 Unknown server ID (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
15508 Transaction not authorized (ERROR)
16500 HTML not allowed (ERROR)
16501 Unknown mail To: (ERROR)
384 12.8 Payment Mail
12.8.2 Payment Mail Synchronization
Payment mail is subject to synchronization. The scope of the synchronization request is all of the accounts
for which the user might have sent mail, not a specific account.
12.8.2.1 Request <PMTMAILSYNCRQ>
Tag Description
<PMTMAILSYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests;
token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<INCIMAGES>
Y if the client accepts mail with images in the message body. N if the client
does not accept mail with images in the message body. Boolean
<USEHTML>
Y if client wants an HTML response, N if client wants plain text, Boolean
<PMTMAILTRNRQ>
Payment-mail transactions (0 or more)
</PMTMAILTRNRQ>
</PMTMAILSYNCRQ>
OFX 2.1.1 Specification 3855/1/06
12.8.2.2 Response <PMTMAILSYNCRS>
Tag Description
<PMTMAILSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in the
servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token in the
servers history table. Boolean
<PMTMAILTRNRS>
Payment-mail transactions (0 or more)
</PMTMAILTRNRS>
</PMTMAILSYNCRS>
12.9 Payee Lists
Payments-system servers store lists of payees set up for payment by each user. Some systems require this
before the user can issue a payment to a payee. In other payment systems, this feature enables the sharing
of payee entry among multiple clients, and simplifies server payee maintenance.
A server-assigned payee list-entry ID identifies entries in the payee list. The following set of messages
allows clients to obtain this list of payees. Users can add, modify, and delete individual entries in the list.
The user-defined Payee list is subject to synchronization, so that multiple clients can use the list.
Creating a payee:
Client Sends Server Responds
Server-assigned payee
identifier, or payee billing
address
Users account number
with the payee
Payee address
Standard payee information
386 12.9 Payee Lists
Modifying a payee:
Client Sends Server Responds
Server-assigned payee
identifier
Users account number
with the payee
Information to change:
payee name
address
city
state
postal code
phone number
new payee account #
Extended payee information
if payee is a standard payee
or has non-default processing
lead times
Acknowledgment or Error
Deleting a payee:
Client Sends Server Responds
Server-assigned payee
identifier
Users account number
with the payee
Acknowledgment or Error
OFX 2.1.1 Specification 3875/1/06
12.9.1 Adding a Payee to the Payee List
The user can use the Payee Request to add a payee to the server payee list. The server responds with a
Payee Response, which can contain a complete billing address for the payee, or if the payee is a standard
payee, the lead-time and payee name values.
12.9.1.1 Payee Request <PAYEERQ>
The <PAYEERQ> requests the addition of a payee entry to the servers payee list. Note that the user can
use a <PMTRQ> to simultaneously set up a payee. OFX does not require the client to send a <PAYEERQ>
before making an initial <PMTRQ> to a payee.
The <PAYEERQ> request must appear within a <PAYEETRNRQ> transaction wrapper.
Tag Description
<PAYEERQ>
Payee-request aggregate
Specify payee; either
<PAYEEID> or
<PAYEE>.
<PAYEEID>
Server-assigned payee identifier, A-12
<PAYEE>
Complete payee billing information, see section 12.5.2.1.
</PAYEE>
<BANKACCTTO>
The destination bank account (see section 11.3.1), specified in countries that pay using
transfers. The <PAYEE> (above) must also be specified.
</BANKACCTTO>
<PAYACCT>
Users account number(s) with the payee (0 or more), A-32
</PAYEERQ>
388 12.9 Payee Lists
12.9.1.2 Payee Response <PAYEERS>
The server sends the Payee Response in response to a Payee Request. It contains the full billing
information for the payee if it is not a standard payee. Otherwise, it contains the standard payee
information, including lead time and payee name. If the server identifies the payee as having an assigned
payee ID, then the server will include the <EXTDPAYEE> aggregate in the response.
If the response indicates that the payee does not have an assigned <PAYEEID>, the client should specify
the full billing address <PAYEE> information in subsequent payment requests to that payee or when that
payee is being modified. Otherwise the <PAYEEID> is used in lieu of the <PAYEE> aggregate.
If the response indicates that the payee does have a <PAYEEID>, then the client should use the
<PAYEEID> for making payments to that payee.
The <PAYEERS> response must appear within a <PAYEETRNRS> transaction wrapper.
Tag Description
<PAYEERS>
Payee-response aggregate
<PAYEELSTID>
Server-assigned record ID for this payee record, A-12
<PAYEE>
Complete payee billing information, see section 12.5.2.1.
</PAYEE>
<BANKACCTTO>
The destination bank account (see section 11.3.1), specified in countries that pay using
transfers. The <PAYEE> (above) must also be specified.
</BANKACCTTO>
<EXTDPAYEE>
Extended payee information, see section 12.5.2.6
</EXTDPAYEE>
<PAYACCT>
Users account number(s) with the payee (0 or more), A-32
</PAYEERS>
OFX 2.1.1 Specification 3895/1/06
12.9.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2001 Invalid account (ERROR)
2002 General account error (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date
<TOKEN> (ERROR)
10501 Invalid payee (ERROR)
10502 Invalid payee address (ERROR)
10503 Invalid payee account number (ERROR)
10511 Invalid payee city (ERROR)
10512 Invalid payee state (ERROR)
10513 Invalid payee postal code (ERROR)
12.9.2 Payee Modification
The Payee Modification Request allows the client to make changes to payee entries in the servers payee
list. Payments spawned from a model after the payee modification will use the updated information from
the server’s payee list as modified by the Payee Modification request.
12.9.2.1 Request <PAYEEMODRQ>
The client sends the Payee Modification Request to request changes to an existing payee list entry. The
<PAYEE> aggregate must specify the changed and unchanged payee information. Absence of a
<PAYACCT> in a <PAYEEMODRQ> could be interpreted as an implicit disassociation of the
<PAYACCT> with the payee. Presence or absence of a <PAYACCT> does not imply selective <PAYEE>
aggregate changes for the same <PAYEELSTID> as referenced by more than one <PAYACCT>. The
<PAYEEMODRQ> request must appear within a <PAYEETRNRQ> transaction wrapper.
390 12.9 Payee Lists
A payee modification may also affect models (though not their pending payments). In this case, a server
must create and store <RECPMTMODRS> responses, to be returned to the client in subsequent recurring
synchronization responses. See section 12.2.5 for further discussion of implicit payee changes.
Tag Description
<PAYEEMODRQ>
Modification-request aggregate
<PAYEELSTID>
Server-assigned record ID for this payee record, A-12
<PAYEE>
Payee information to modify
</PAYEE>
<BANKACCTTO>
Destination account (see section 11.3.1) for countries that pay using transfers
(<PAYEE> required)
</BANKACCTTO>
<PAYACCT>
Payer account number(s) with the payee (0 or more), A-32
</PAYEEMODRQ>
OFX 2.1.1 Specification 3915/1/06
12.9.2.2 Response <PAYEEMODRS>
The server returns a Payee Modification Response in reply to a Payee Modification Request.
When a server-initiated change occurs to the extended payee information for a payee (for example a
change in the payee’s lead-time), the server can include this information in the <EXTDPAYEE> of the
response.
If a server-initiated response indicates either that a payee now has a payee ID, or no longer has one, then
the client should use the appropriate form of designating the payee in any future payment requests
<PMTRQ> to that payee.
The <PAYEEMODRS> response must appear within a <PAYEETRNRS> transaction wrapper.
Tag Description
<PAYEEMODRS>
Modification-response aggregate
<PAYEELSTID>
Server-assigned record ID for this payee record, A-12
<PAYEE>
Payee information that was modified, see section 12.5.2.1
</PAYEE>
<BANKACCTTO>
Destination account (see section 11.3.1) for countries that pay bills using transfers
(<PAYEE> required as well)
</BANKACCTTO>
<PAYACCT>
Payers account number(s) with the payee (0 or more), A-32
<EXTDPAYEE>
Extended payee information, see section 12.5.2.6
</EXTDPAYEE>
</PAYEEMODRS>
392 12.9 Payee Lists
12.9.2.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2001 Invalid account (ERROR)
2002 General account error (ERROR)
2009 Destination account not found (ERROR)
2010 Destination account closed (ERROR)
2011 Destination account not authorized (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due to out-of-date
<TOKEN> (ERROR)
10501 Invalid payee (ERROR)
10502 Invalid payee address (ERROR)
10503 Invalid payee account number (ERROR)
10510 Invalid payee ID (ERROR)
10511 Invalid payee city (ERROR)
10512 Invalid payee state (ERROR)
10513 Invalid payee postal code (ERROR)
10515 Payee not modifiable by client (ERROR)
OFX 2.1.1 Specification 3935/1/06
12.9.3 Payee Deletion
The Payee Deletion Request allows a client to delete a payee entry from the server’s list of the users
payees. To delete specific <PAYACCT> associations with a payee, clients should use the
<PAYEELSTID> combined with absent <PAYACCT>s via a <PAYEEMODRQ>.
The Payee delete request does not cancel payments that are pending at the time of the payee’s deletion.
References to pending payments subsequent to a payee’s deletion pose issues regarding <PAYEELSTID>
assignment at both the client and server levels. Therefore, it is suggested that the client disallow payee
deletes if there are pending payments/models.
12.9.3.1 Request <PAYEEDELRQ>
The <PAYEEDELRQ> requests the deletion of a payee entry.
The <PAYEEDELRQ> request must appear within a <PAYEETRNRQ> transaction wrapper.
Tag Description
<PAYEEDELRQ>
Deletion-request aggregate
<PAYEELSTID>
Server-assigned record ID for this payee record, A-12
</PAYEEDELRQ>
394 12.9 Payee Lists
12.9.3.2 Response <PAYEEDELRS>
The server sends the Payee Deletion Response <PAYEEDELRS> in response to a Payee Deletion Request
<PAYEEDELRQ>.
The <PAYEEDELRS> response must appear within a <PAYEETRNRS> transaction wrapper.
Tag Description
<PAYEEDELRS>
Deletion-response aggregate
<PAYEELSTID>
Server-assigned record ID for this payee record, A-12
</PAYEEDELRS>
12.9.3.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded
transaction due to out-of-date
<TOKEN> (ERROR)
10519 Invalid payee list ID (ERROR)
OFX 2.1.1 Specification 3955/1/06
12.9.4 Payee List Synchronization
This message allows clients to obtain a list of payees stored on the server that it has configured for use in
payments. In a “pay some” system, users are sometimes required to explicitly configure the payees to
whom the system will make payments. This can be done by means of a telephone call to the payments
provider or through some other interface. The client can then use this message to obtain the user’s list of
configured payees. In other systems, the payments provider can elect to store a list of all payees that the
user has paid. This is a convenience to the client. It allows payees set up on one client to be accessible from
a users other clients and ensures each client has the latest version of this list.
12.9.4.1 Request <PAYEESYNCRQ>
Tag Description
<PAYEESYNCRQ>
Payee-list request aggregate
Client synchronization
option; <TOKEN>,
<TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization request
from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<PAYEETRNRQ>
Payee transactions (0 or more)
</PAYEETRNRQ>
</PAYEESYNCRQ>
396 12.9 Payee Lists
12.9.4.2 Response <PAYEESYNCRS>
Tag Description
<PAYEESYNCRS>
Payee-list response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in the
servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token in the
servers history table. Boolean
<PAYEETRNRS>
Payee transactions (0 or more)
</
PAYEETRNRS>
</PAYEESYNCRS>
OFX 2.1.1 Specification 3975/1/06
12.10 Data Synchronization for Payments
Users of OFX Payments need to be able to obtain the current status of transactions previously sent to the
server for processing. For example, once the user schedules a payment and the payment date has passed,
the user might want to verify that the server made the payment as directed. Additionally, OFX allows for
interactions with the server through multiple clients. This means, for example, that the user can perform
some transactions from a home PC and others from an office computer with each session incorporating the
activities performed on the other.
In order to accomplish these tasks, the client uses a synchronization scheme to insure that it has an accurate
copy of the server data that is relevant to the client application. The intent of this scheme is to address three
scenarios in which the client might lose synchronization with the server:
A transaction has changed its state based on processing actions on the server. For example, a scheduled
payment has passed its due date and has been paid or rejected.
Transactions relevant to the client’s application state have been added, deleted, or modified by a second
client. For example, a user might enter or change transactions from more than one PC or application.
A communications session between the client and server was interrupted or completed abnormally. As
a result the client does not have responses from the server indicating that all the transactions were
received and processed.
Note: Except for the <REFRESH>Y sync response, no payee information in any particular
response in a sync should have changed from that in the response when it was originally sent.
In other words, if a <PMTMODRS> caused a change to that payment’s payee address, the
original <PMTRS> in the sync should have the old address in it. The <PMTMODRS>,
appearing later in the sync, would cause the client to update the payment appropriately.
398 12.10 Data Synchronization for Payments
12.10.1 Payment Synchronization
12.10.1.1 Request <PMTSYNCRQ>
Tag Description
<PMTSYNCRQ>
Synchronization-request aggregate
Client synchronization
option; <TOKEN>,
<TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization request
from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<BANKACCTFROM>
Opening tag for account from aggregate, see section 11.3.1
</BANKACCTFROM>
<PMTTRNRQ>
Payment transactions (0 or more)
</PMTTRNRQ>
</PMTSYNCRQ>
OFX 2.1.1 Specification 3995/1/06
12.10.1.2 Response <PMTSYNCRS>
Tag Description
<PMTSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in the
servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token in
the servers history table. Boolean
<BANKACCTFROM>
Opening tag for account from aggregate, see section 11.3.1
</BANKACCTFROM>
<PMTTRNRS>
Payment transactions (0 or more)
</PMTTRNRS>
</PMTSYNCRS>
400 12.10 Data Synchronization for Payments
12.10.2 Recurring Payment Synchronization
12.10.2.1 Request <RECPMTSYNCRQ>
Tag Description
<RECPMTSYNCRQ>
Synchronization-request aggregate
Client synchronization
option; <TOKEN>,
<TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization request
from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<BANKACCTFROM>
Opening tag for account from aggregate, see section 11.3.1
</BANKACCTFROM>
<RECPMTTRNRQ>
Recurring-payment transactions (0 or more)
</RECPMTTRNRQ>
</RECPMTSYNCRQ>
OFX 2.1.1 Specification 4015/1/06
12.10.2.2 Response <RECPMTSYNCRS>
Tag Description
<RECPMTSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in the
servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token in the
servers history table. Boolean
<BANKACCTFROM>
Opening tag for account from aggregate, see section 11.3.1
</BANKACCTFROM>
<RECPMTTRNRS>
Recurring-payment transactions (0 or more)
</RECPMTTRNRS>
</RECPMTSYNCRS>
402 12.10 Data Synchronization for Payments
12.10.3 Discussion
This section describes specific synchronization processing for the OFX Payments functions. Chapter 6,
"Data Synchronization," provides a more extensive discussion of the OFX synchronization mechanism.
The client follows the steps below to synchronize:
1. The client sends a <PMTSYNCRQ> and/or <RECPMTSYNCRQ> containing the token it has stored
from its last successful synchronization (or the special initial token value).
2. The client processes the <PMTSYNCRS> and/or <RECPMTSYNCRS> response from the server.
When the client has requested the server to add a transaction, a response that contains a <TRNUID>
matching a transaction originally sent by the client—for which the client has not recorded an associated
<SRVRTID>—is the normal scenario. This scenario could also occur if the server response did not reach
the client in the previous session. In either case, the client should add these server IDs to their associated
transactions at this point.
If the client previously recorded the <SRVRTID>, this response is a change in status or in the contents of
the transaction. The request might have originated from this client, another client, or might be the result of
server processing.
If the <TRNUID> does not match any transaction known to the client, a second client initiated this
transaction. In rarer cases the response might be a transaction initially requested by this client, for which
the client has lost its record; for example, the client has reverted to a backup.
OFX 2.1.1 Specification 4035/1/06
The diagram below describes the processing and interpretation of <SRVRTID> and <TRNUID>
identifiers by the client:
The res
p
onse is a modification or chan
g
e in status.
Does the <SRVRTID> in
this response match one
already recorded by the
client?
Client applies all updated
information to its copy of
the matching transaction.
The client should record the
associated <SRVRTID>, if
response status=SUCCESS
This is a response to a
request initiated by this
client.
The res
p
onse is a new transaction created b
y
another client.
Was the <TRNUID>
returned in the response
created by this client?
Yes
Yes
N
o
N
o
Client adds the transaction
to its local list of
transactions.
The res
p
onse is to an add re
q
uest from this client.
After receiving the synchronization responses from the server, the client scans its database of transactions
to verify that they have all been assigned a <SRVRTID>. Any transactions missing this identifier were
never received by the server and should be resent (using the originally assigned <TRNUID> to avoid
duplicate requests). Additionally, the client should record the <TOKEN> received in the response.
12.11 Message Sets and Profile
OFX separates messages that the client and server send into groups called message sets. Each financial
institution defines the message sets that a particular institution will support. Currently, all the payment
messages described in this chapter fall into a single message set.
The message set contains options and attributes that allow a financial institution to customize its use of
OFX. The options and attributes are defined in the profile as part of the message set definition. Each set of
options and attributes appears within an aggregate that is specific to a message set. Specifically, all of the
options and attributes that pertain to payments are contained within <BILLPAYMSGSETV1>.
404 12.11 Message Sets and Profile
12.11.1 Bill Pay Message Sets and Messages
The following tables show the OFX transactions and their corresponding transaction wrappers for requests
and responses within bill pay.
12.11.1.1 Bill Pay Message Set Request Messages
Clients should not send an empty <BILLPAYMSGSRQV1> (although allowed by the DTD, such a
message is meaningless). Although the DTD imposes a certain transaction order (payee transactions and
sync requests go first), the transactions in <BILLPAYMSGSRQV1> may be executed in any order.
Message Set Messages
<BILLPAYMSGSRQV1>
PMTTRNRQ
PMTRQ
PMTMODRQ
PMTCANCRQ
RECPMTTRNRQ
RECPMTRQ
RECPMTMODRQ
RECPMTCANCRQ
PAYEETRNRQ
PAYEERQ
PAYEEMODRQ
PAYEEDELRQ
PMTINQTRNRQ
PMTINQRQ
PMTMAILTRNRQ
PMTMAILRQ
PMTSYNCRQ
RECPMTSYNCRQ
PAYEESYNCRQ
PMTMAILSYNCRQ
</BILLPAYMSGSRQV1>
OFX 2.1.1 Specification 4055/1/06
12.11.1.2 Bill Pay Message Set Response Messages
Message Set Messages
<BILLPAYMSGSRSV1>
PMTTRNRS
PMTRS
PMTMODRS
PMTCANCRS
RECPMTTRNRS
RECPMTRS
RECPMTMODRS
RECPMTCANCRS
PAYEETRNRS
PAYEERS
PAYEEMODRS
PAYEEDELRS
PMTINQTRNRS
PMTINQRS
PMTMAILTRNRS
PMTMAILRS
PMTSYNCRS
RECPMTSYNCRS
PAYEESYNCRS
PMTMAILSYNCRS
</BILLPAYMSGSRSV1>
406 12.11 Message Sets and Profile
12.11.2 Bill Pay Message Set Profile <BILLPAYMSGSET>
Tag Description
<BILLPAYMSGSET>
<BILLPAYMSGSETV1>
Version 1 of bill pay message set
<MSGSETCORE>
</MSGSETCORE>
<DAYSWITH>
Offset to withdrawal date, such that (DTDUE – DAYSTOPAY) +
(DAYSWITH) determines the date on which the funds are withdrawn
from the users account.
N-3
Note: If <DAYSWITH>-1 is specified, then the withdrawal date is the
same as the payment date (<DTDUE>).
<DFLTDAYSTOPAY>
Default number of days to pay by check (except by transfer), N-3
Can be overridden for each payee, by <DAYSTOPAY> in the
<EXTDPAYEE> aggregate, see section 12.5.2.6
<XFERDAYSWITH>
Number of days before processing date that funds are withdrawn for
payment by transfer, N-3
<XFERDFLTDAYSTOPAY>
Default number of days to pay by transfer, N-3
Can be overridden for each payee, by <DAYSTOPAY> in the
<EXTDPAYEE> aggregate, see section 12.5.2.6
<PROCDAYSOFF>
Days of week that no processing occurs; 0 or more of (MONDAY,
TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,
SUNDAY). <PROCDAYSOFF> indicate days to exclude when
calculating dates that utilize other bill payment bits, such as
<DAY SWITH> and <DF LTDAYSTOPAY> values.
<PROCENDTM>
Time of day that day’s processing ends; used for determining whether
today is still a processing day for calculation of due date. Clients should
adjust this value to the current time zone, ignoring any date rollover that
might occur. If the adjusted time is less than the current local time,
processing for the day is over.
time
<MODELWND>
Model window; the number of days before a recurring transaction is
scheduled to be processed that it is instantiated on the system;
<MODELWND>0 indicates that the server will always maintain a single
spawned payment for each model,
N-3
<POSTPROCWND>
Number of days after a transaction is processed that it is accessible for
status inquiries, N-3
<STSVIAMODS>
If Y, server supports communication of server-initiated payment status
changes by means of the PMTMODRS message,
Boolean
<PMTBYADDR>
The payment provider supports payments to payees identified by billing
address, that is, the PAYEE aggregate, Boolean
OFX 2.1.1 Specification 4075/1/06
<PMTBYXFER>
The payment provider supports payments to payees identified by
destination account, Boolean
<PMTBYPAYEEID>
The payment provider supports payments to payees identified by a server-
supplied payee ID,
Boolean
<CANADDPAYEE>
User can add payees. if no, the user is restricted to payees added to the
users payee list by the payment system, Boolean
<HASEXTDPMT>
Supports the EXTDPMT business payment aggregate, Boolean
<CANMODPMTS>
Permits modifications to payments, that is PMTMODRQ, Boolean
<CANMODMDLS>
Permits modifications to models, that is REQPMTMODRQ, Boolean
<DIFFFIRSTPMT>
Support for specifying a different amount for the first payment generated
by a model, Boolean
<DIFFLASTPMT>
Support for specifying a different amount for the last payment generated
by a model, Boolean
<BILLPUBCONTEXT>
The payment provider supports bill presentment context information in
payment operations, Boolean
</BILLPAYMSGSETV1>
</BILLPAYMSGSET>
Tag Description
408 12.12 Examples
12.12 Examples
12.12.1 Scheduling a Payment
Create a payment to “J.C. Counts” for $123.45 to be paid on October 1, 2005 using funds in a checking
account:
<!-- payment example 1 -->
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PMTTRNRQ>
<TRNUID>1001</TRNUID>
<PMTRQ>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>123.45</TRNAMT>
<PAYEE>
<NAME>J. C. Counts</NAME>
<ADDR1>100 Main St.</ADDR1>
<CITY>Turlock</CITY>
<STATE>CA</STATE>
<POSTALCODE>90101</POSTALCODE>
<PHONE>415.987.6543</PHONE>
</PAYEE>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051001</DTDUE>
<MEMO>payment #3</MEMO>
</PMTINFO>
</PMTRQ>
</PMTTRNRQ>
</BILLPAYMSGSRQV1>
</OFX>
OFX 2.1.1 Specification 4095/1/06
The server responds, indicating that it will make the payment on the date requested and that the payee is a
standard payee:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PMTTRNRS>
<TRNUID>1001</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PMTRS>
<SRVRTID>1030155</SRVRTID>
<PAYEELSTID>123214<PAYEELSTID>
<CURDEF>USD</CURDEF>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>123.45</TRNAMT>
<PAYEE>
<NAME>J. C. Counts</NAME>
<ADDR1>100 Main St.</ADDR1>
<CITY>Turlock</CITY>
<STATE>CA</STATE>
<POSTALCODE>90101</POSTALCODE>
<PHONE>415.987.6543</PHONE>
</PAYEE>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051001</DTDUE>
<MEMO>payment #3</MEMO>
</PMTINFO>
<EXTDPAYEE>
<PAYEEID>9076</PAYEEID>
410 12.12 Examples
<IDSCOPE>USER</IDSCOPE>
<NAME>J. C. Counts</NAME>
<DAYSTOPAY>3</DAYSTOPAY>
</EXTDPAYEE>
<PMTPRCSTS>
<PMTPRCCODE>WILLPROCESSON</PMTPRCCODE>
<DTPMTPRC>20050928</DTPMTPRC>
</PMTPRCSTS>
</PMTRS>
</PMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
Create a second payment to the payee, using the payee ID returned in the previous example:
<!-- payment example 2 -->
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PMTTRNRQ>
<TRNUID>1002</TRNUID>
<PMTRQ>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>123.45</TRNAMT>
<PAYEEID>9076</PAYEEID>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051101</DTDUE>
<MEMO>Payment #4</MEMO>
</PMTINFO>
</PMTRQ>
</PMTTRNRQ>
OFX 2.1.1 Specification 4115/1/06
</BILLPAYMSGSRQV1>
</OFX>
The server responds, indicating that it will make the payment on the date requested:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PMTTRNRS>
<TRNUID>1002</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PMTRS>
<SRVRTID>1068405<SRVRTID>
<PAYEELSTID>123214</PAYEELSTID>
<CURDEF>USD</CURDEF>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>123.45</TRNAMT>
<PAYEEID>9076</PAYEEID>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051101</DTDUE>
<MEMO>payment #4</MEMO>
</PMTINFO>
<EXTDPAYEE>
<PAYEEID>9076</PAYEEID>
<IDSCOPE>USER</IDSCOPE>
<NAME>J. C. Counts</NAME>
<DAYSTOPAY>3</DAYSTOPAY>
</EXTDPAYEE>
<PMTPRCSTS>
412 12.12 Examples
<PMTPRCCODE>WILLPROCESSON</PMTPRCCODE>
<DTPMTPRC>20051029</DTPMTPRC>
</PMTPRCSTS>
</PMTRS>
</PMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
12.12.2 Modifying a Payment
Change the amount of the first payment to $125.99
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PMTTRNRQ>
<TRNUID>1021</TRNUID>
<PMTMODRQ>
<SRVRTID>1030155</SRVRTID>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>125.99</TRNAMT><!-- changed amount -->
<PAYEEID>9076</PAYEEID>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051001</DTDUE>
<MEMO>payment #3</MEMO>
</PMTINFO>
</PMTMODRQ>
</PMTTRNRQ>
</BILLPAYMSGSRQV1>
</OFX>
OFX 2.1.1 Specification 4135/1/06
The server responds:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PMTTRNRS>
<TRNUID>1021</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PMTMODRS>
<SRVRTID>1030155</SRVRTID>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>125.99</TRNAMT><!-- changed amount -->
<PAYEEID>9076</PAYEEID>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051001</DTDUE>
<MEMO>payment #3</MEMO>
</PMTINFO>
<PMTPRCSTS>
<PMTPRCCODE>WILLPROCESSON</PMTPRCCODE>
<DTPMTPRC>20050928</DTPMTPRC>
</PMTPRCSTS>
</PMTMODRS>
</PMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
Change the date of the same payment to December 12, 2005.
<OFX>
414 12.12 Examples
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PMTTRNRQ>
<TRNUID>32456</TRNUID>
<PMTMODRQ>
<SRVRTID>1030155</SRVRTID>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>125.99</TRNAMT>
<PAYEEID>9076</PAYEEID>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051212</DTDUE><!-- changed date -->
<MEMO>payment #3</MEMO>
</PMTINFO>
</PMTMODRQ>
</PMTTRNRQ>
</BILLPAYMSGSRQV1>
</OFX>
The server responds:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PMTTRNRS>
<TRNUID>32456</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</INFO>
OFX 2.1.1 Specification 4155/1/06
</STATUS>
<PMTMODRS>
<SRVRTID>1030155</SRVRTID>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>125.99</TRNAMT>
<PAYEEID>9076</PAYEEID>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051212</DTDUE><!-- changed date -->
<MEMO>payment #3</MEMO>
</PMTINFO>
<PMTPRCSTS>
<PMTPRCCODE>WILLPROCESSON</PMTPRCCODE>
<DTPMTPRC>20051209</DTPMTPRC>
</PMTPRCSTS>
</PMTMODRS>
</PMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
12.12.3 Canceling a Payment
Cancel a payment:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PMTTRNRQ>
<TRNUID>54601</TRNUID>
<PMTCANCRQ>
<SRVRTID>1030155</SRVRTID>
</PMTCANCRQ>
</PMTTRNRQ>
416 12.12 Examples
</BILLPAYMSGSRQV1>
</OFX>
The server responds:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PMTTRNRS>
<TRNUID>54601</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PMTCANCRS>
<SRVRTID>1030155</SRVRTID>
</PMTCANCRS>
</PMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
12.12.4 Updating Payment Status
Update payment status:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PMTINQTRNRQ>
<TRNUID>7865</TRNUID>
<PMTINQRQ>
<SRVRTID>565321</SRVRTID>
</PMTINQRQ>
</PMTINQTRNRQ>
OFX 2.1.1 Specification 4175/1/06
</BILLPAYMSGSRQV1>
</OFX>
The server responds with updated status and check number:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PMTINQTRNRS>
<TRNUID>7865</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PMTINQRS>
<SRVRTID>565321</SRVRTID>
<PMTPRCSTS>
<PMTPRCCODE>PROCESSEDON</PMTPRCCODE>
<DTPMTPRC>20050201</DTPMTPRC>
</PMTPRCSTS>
<CHECKNUM>6017</CHECKNUM>
</PMTINQRS>
</PMTINQTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
12.12.5 Scheduling a Recurring Payment
Create a recurring payment of 36 monthly payments of $395 to a (previously known) standard payee. The
first payment will be on November 15, 2005:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
418 12.12 Examples
<RECPMTTRNRQ>
<TRNUID>12354</TRNUID>
<RECPMTRQ>
<RECURRINST>
<NINSTS>36</NINSTS/
<FREQ>MONTHLY</FREQ>
</RECURRINST>
<PMTINFO>
<BANKACCTFROM>
<BANKID>555432180</BANKID>
<ACCTID>763984</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>395.00</TRNAMT>
<PAYEEID>77810</PAYEEID>
<PAYEELSTID>27983</PAYEELSTID>
<PAYACCT>444-78-97572</PAYACCT>
<DTDUE>20051115</DTDUE>
<MEMO>Auto loan payment</MEMO>
</PMTINFO>
</RECPMTRQ>
</RECPMTTRNRQ>
</BILLPAYMSGSRQV1>
</OFX>
The server responds with the assigned server transaction ID:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<RECPMTTRNRS>
<TRNUID>12345</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</INFO>
</STATUS>
<RECPMTRS>
<RECSRVRTID>387687138</RECSRVRTID>
OFX 2.1.1 Specification 4195/1/06
<PAYEELSTID>27983</PAYEELSTID>
<CURDEF>USD</CURDEF>
<RECURRINST>
<NINSTS>36</NINSTS>
<FREQ>MONTHLY</FREQ>
</RECURRINST>
<PMTINFO>
<BANKACCTFROM>
<BANKID>555432180</BANKID>
<ACCTID>763984</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>395.00</TRNAMT>
<PAYEEID>77810</PAYEEID>
<PAYEELSTID>27983</PAYEELSTID>
<PAYACCT>444-78-97572</PAYACCT>
<DTDUE>20051115</DTDUE>
<MEMO>Auto loan payment
</PMTINFO>
<EXTDPAYEE>
<PAYEEID>77810</PAYEEID>
<IDSCOPE>USER</IDSCOPE>
<NAME>Mel’s Used Cars</NAME>
<DAYSTOPAY>3</DAYSTOPAY>
</EXTDPAYEE>
</RECPMTRS>
</RECPMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
12.12.6 Modifying a Recurring Payment
Change the amount of a recurring payment:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<RECPMTTRNRQ>
420 12.12 Examples
<TRNUID>98765</TRNUID>
<RECPMTMODRQ>
<RECSRVRTID>387687138</RECSRVRTID>
<RECURRINST>
<NINSTS>36</NINSTS>
<FREQ>MONTHLY</FREQ>
</RECURRINST>
<PMTINFO>
<BANKACCTFROM>
<BANKID>555432180</BANKID>
<ACCTID>763984</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>399.95</TRNAMT><!-- changing amount -->
<PAYEEID>77810</PAYEEID>
<PAYEELSTID>27983</PAYEELSTID>
<PAYACCT>444-78-97572</PAYACCT>
<DTDUE>20051115</DTDUE>
<MEMO>Auto loan payment</MEMO>
</PMTINFO>
<MODPENDING>N</MODPENDING>
</RECPMTMODRQ>
</RECPMTTRNRQ>
</BILLPAYMSGSRQV1>
</OFX>
The server responds:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<RECPMTTRNRS>
<TRNUID>98765</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<RECPMTMODRS>
OFX 2.1.1 Specification 4215/1/06
<RECSRVRTID>387687138</RECSRVRTID>
<RECURRINST>
<NINSTS>36</NINSTS>
<FREQ>MONTHLY</FREQ>
</RECURRINST>
<PMTINFO>
<BANKACCTFROM>
<BANKID>555432180</BANKID>
<ACCTID>763984</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>399.95</TRNAMT><!-- changing amount -->
<PAYEEID>77810</PAYEEID>
<PAYEELSTID>27983</PAYEELSTID>
<PAYACCT>444-78-97572</PAYACCT>
<DTDUE>20051115</DTDUE>
<MEMO>Auto loan payment</MEMO>
</PMTINFO>
<MODPENDING>N</MODPENDING>
</RECPMTMODRS>
422 12.12 Examples
</RECPMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
12.12.7 Canceling a Recurring Payment
Cancel a recurring payment:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<RECPMTTRNRQ>
<TRNUID>11122</TRNUID>
<RECPMTCANCRQ>
<RECSRVRTID>387687138</RECSRVRTID>
<CANPENDING>Y</CANPENDING>
</RECPMTCANCRQ>
</RECPMTTRNRQ>
</BILLPAYMSGSRQV1>
</OFX>
The server responds:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<RECPMTTRNRS>
<TRNUID>11122</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<RECPMTCANCRS>
<RECSRVRTID>387687138</RECSRVRTID>
OFX 2.1.1 Specification 4235/1/06
<CANPENDING>Y</CANPENDING>
</RECPMTCANCRS>
</RECPMTTRNRS>
</BILLPAYMSGSRSV1>
</OFX>
12.12.8 Adding a Payee to the Payee List
The user sends a request to add a payee to the users payee list:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PAYEETRNRQ>
<TRNUID>127677</TRNUID>
<PAYEERQ>
<PAYEE>
<NAME>ACME Rocket Works</NAME>
<ADDR1>101 Spring St.</ADDR1>
<ADDR2>Suite 503</ADDR2>
<CITY>Watkins Glen</CITY>
<STATE>NY</STATE>
<POSTALCODE>12345-6789</POSTALCODE>
<PHONE>888.555.1212</PHONE>
</PAYEE>
<PAYACCT>1001-99-8876</PAYACCT>
</PAYEERQ>
</PAYEETRNRQ>
</BILLPAYMSGSRQV1>
</OFX>
424 12.12 Examples
The server responds:
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PAYEETRNRS>
<TRNUID>127677</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PAYEERS>
<PAYEELSTID>78096786</PAYEELSTID>
<PAYEE>
<NAME>ACME Rocket Works</NAME>
<ADDR1>101 Spring St.</ADDR1>
<ADDR2>Suite 503</ADDR2>
<CITY>Watkins Glen</CITY>
<STATE>NY</STATE>
<POSTALCODE>12345-6789</POSTALCODE>
<PHONE>888.555.1212</PHONE>
</PAYEE>
<EXTDPAYEE>
<PAYEEID>88878</PAYEEID>
<IDSCOPE>GLOBAL</IDSCOPE>
<NAME>ACME Rocket Works, Inc.</NAME>
<DAYSTOPAY>2</DAYSTOPAY>
</EXTDPAYEE>
<PAYACCT>1001-99-8876</PAYACCT>
</PAYEERS>
</PAYEETRNRS>
</BILLPAYMSGSRSV1>
</OFX>
OFX 2.1.1 Specification 4255/1/06
12.12.9 Synchronizing Scheduled Payments
A client wishes to obtain all Payments active on the server for a particular account:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<BILLPAYMSGSRQV1>
<PMTSYNCRQ>
<REFRESH>Y</REFRESH>
<REJECTIFMISSING>N</REJECTIFMISSING>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
</PMTSYNCRQ>
</BILLPAYMSGSRQV1>
</OFX>
Assuming the only activity on this account has been the two payments created above, the server responds
with one payment since the other payment was cancelled. The server also includes the current <TOKEN>
value.
Note: If the one outstanding payment had a modification to it, the modification should have
been integrated into the one <PMTRS> since this is a refresh, not a sync of all history. In that
case, <TRNUID>0 must be returned in the response transaction (no client initiated an exact
matching transaction).
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<BILLPAYMSGSRSV1>
<PMTSYNCRS>
<TOKEN>3247989384</TOKEN>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
426 12.12 Examples
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<PMTTRNRS>
<TRNUID>0</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PMTRS>
<SRVRTID>1068405</SRVRTID>
<PAYEELSTID>123214</PAYEELSTID>
<CURDEF>USD</CURDEF>
<PMTINFO>
<BANKACCTFROM>
<BANKID>123432123</BANKID>
<ACCTID>516273</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<TRNAMT>123.45</TRNAMT>
<PAYEEID>9076</PAYEEID>
<PAYEELSTID>123214</PAYEELSTID>
<PAYACCT>10101</PAYACCT>
<DTDUE>20051001</DTDUE>
<MEMO>payment #4</MEMO>
</PMTINFO>
<EXTDPAYEE>
<PAYEEID>9076</PAYEEID>
<IDSCOPE>USER</IDSCOPE>
<NAME>J. C. Counts</NAME>
<DAYSTOPAY>3</DAYSTOPAY>
</EXTDPAYEE>
<PMTPRCSTS>
<PMTPRCCODE>WILLPROCESSON</PMTPRCCODE>
<DTPMTPRC>20051001</DTPMTPRC>
</PMTPRCSTS>
</PMTRS>
</PMTTRNRS>
</PMTSYNCRS>
</BILLPAYMSGSRSV1>
</OFX>
OFX 2.1.1 Specification 4275/1/06
CHAPTER 13 INVESTMENTS
OFX supports download of security information and detailed investment account statements including
transactions, open orders, balances, and positions.
Client Sends Server Responds
Account identifier
Whether to download open orders
Whether to download transactions
Date range if transactions should be
downloaded
Whether to download positions
Whether to download balances
Additional securities to send information
about
Date and time for statement
Default currency for statement
Account identifier
Investment transactions
Banking transactions
Open orders
Positions
Account balances
Available Cash Balance
Short Balance
Margin Balance
Buying power
Marketing message
List of securities
Note: This release of OFX does not support trading or tax lots.
428 13.1 Types of Response Information
13.1 Types of Response Information
The response consists of five types of information:
Transactions – a combination of bank transaction detail records and investment transaction detail
records. Transactions only within the specified start and stop dates are sent.
Positions – positions a user has at a brokerage. Each statement response must contain a complete set of
position records, even if no transactions occurred in the requested statement period for a particular
holding.
Balances – current balances typically reported on an FI statement, such as cash balance or buying
power. They can also convey other numbers of interest, such as current interest rates.
Open Orders – current open trading orders that a user has at a brokerage.
Securities – any security referenced in either transactions, positions, open orders or explicitly
requested.
Images - images for investment banking transactions
Closing statements
13.2 Sub-Accounts
Many FIs distinguish between activity and positions in cash, margin, and short accounts, with some FIs
having many other types of “sub-accounts.” OFX defines four standard types of sub-accounts: Cash,
Margin, Short, Other. Position, Transaction, and Open Order records identify the sub-account.
13.3 Units, Precision, and Signs
This section provides information about numerical values for investment transactions. For more
information about common data types used within OFX, refer to
Chapter 3, "Common Aggregates,
Elements, and Data Types."
13.3.1 Units
The units for security units and unit price are those commonly used on brokerage statements, and differ for
each type of security.
Stocks and Other – use number of shares for units and dollar value for unit price.
Mutual Funds – in most cases shares are used, but in some cases the dollar value is used. The unit type
is specified in cases in which it can be either.
Bonds – use face value for units and percentage of par for unit price. For example, a $25,000 bond
trading at $88 would use 25000 as the units and 88 as the unit price.
OFX 2.1.1 Specification 4295/1/06
Options – use number of contracts (not shares) for units, and price per share (not contract) for unit
price.
13.3.2 Precision
OFX does not specify the precision of fields since the precision is client-dependent. However, it is
recommended that clients and servers follow these rules:
Clients and servers should send as much precision as they have
Clients and servers should use a precision equal to or better than 1/256 of a share
13.3.3 Signs
Chapter 3, "Common Aggregates, Elements, and Data Types," describes how to use positive and negative
numbers. Briefly, quantities and total values should be signed from the perspective of the user. In a stock
buy, the total value is negative, the unit price is always positive, and the number of units is positive.
In a transaction, the signage of UNITS and TOTALs is determined by the transaction's effect on the
underlying cash balance (an investment sell would contain a positive TOTAL and negative UNITS
whereas an investment buy would contain a negative TOTAL and positive UNITS). All other Investment
transaction amounts are always positively signed. In other words UNITPRICE, COMMISSION, FEES,
TAXES, PENALTY, WITHHOLDING, STATEWITHHOLDING, LOAD, MARKUP and MARKDOWN
are always positive numbers.
A positive COMMISSION, TAXES, LOAD, PENALTY, WITHHOLDING, STATEWITHHOLDING or
FEES increases the negatively signed TOTAL on a BUYSTOCK and decreases the positively signed
TOTAL on a SELLSTOCK.
MARKUP and MARKDOWN increase or decrease, respectively, the UNITPRICE.
430 13.4 Bank and Investment Transactions
13.4 Bank and Investment Transactions
Many FIs provide investment accounts that allow users to write checks and perform other traditional
banking transactions, as well as investment transactions. OFX requires FIs to indicate in the download
whether check-writing privileges exist for a given account.
FIs need to use the correct transaction record, bank or investment, for each real-world transaction. Use the
following guidelines:
Checks, electronic funds transfers, and ATM transactions associated with CMA or money market
sweep accounts are always represented with a bank transaction record.
Investment actions that involve securities (buy, sell, stock split, reinvest, etc.) are always represented
with an investment record. Actions that are cash-only but are directly associated with a security are also
investment actions (for example, dividends).
Other cash-only actions require careful analysis by the FI. Those that affect investment performance
analysis should be sent using the appropriate investment action (investment income - miscellaneous,
investment expense). Those that are completely unrelated to investment should be sent as a bank
record.
13.5 Money Market Funds
Money market funds can be handled in one of three different ways depending on how the fund is modeled
at the financial institution
Separate account at the financial institution
Sweep account within an investment account
Position within an investment account
13.5.1 Separate Account at the Financial Institution
In this case, the money market fund is in its own account with its own account number, distinct from the
investment account. In OFX, you should model the money market fund as a separate money market bank
account; see
Chapter 11, "Banking." The banking <STMTRQ> request aggregate and <STMTRS>
response aggregate will be used to download transactions.
OFX 2.1.1 Specification 4315/1/06
13.5.2 Sweep Account Within an Investment Account
OFX uses the money market as a “sweep” account, where cash is “swept” as needed when buying and
selling securities. The money market fund does not have its own account number. The customer sees the
money market fund as an investment-account cash balance. In OFX, checks, ATMs, electronic fund
transfer, deposit, and withdrawal transactions should be downloaded using banking transactions within the
investment account. However, the sweep transactions in and out of the money market fund should not be
downloaded to the client.
13.5.3 Position Within an Investment Account
The customer purchases the money market fund and is held in the account as a position. The money market
fund does not have its own account number. In OFX, the money market fund should be returned as a
<POSOTHER> position in the <INVPOSLIST>, with a <UNITPRICE> of 1.00 and <UNITS> as the
current value of the position. Purchases and redemptions should be modeled as <BUYOTHER> and
<SELLOTHER> transactions with a <UNITPRICE> of 1.00 and <UNITS> as the transaction amount.
13.6 Investment Accounts
Investment account information is downloaded using the account information response aggregate
<ACCTINFORS>. For more information, refer to
Chapter 8, "Activation & Account Information."
<INVACCTFROM> specifies the account. The <INVACCTINFO> aggregate specifies the investment-
specific information.
13.6.1 Specifying the Investment Account <INVACCTFROM>
Tag Description
<INVACCTFROM>
Account-from aggregate
<BROKERID>
Unique identifier for the FI, A-22
<ACCTID>
Account number at FI, A-22
</INVACCTFROM>
Brokers should use the domain name of their company’s URL as the BROKERID, e.g.,
If URL=www.broker.com
then BROKERID=broker.com
The <INVACCTTO> aggregate contains the same elements.
432 13.6 Investment Accounts
13.6.2 Investment Account Information <INVACCTINFO>
The <INVACCTINFO> aggregate should appear in the <ACCTINFO> aggregate for accounts that support
investment statement download. For more information about the <ACCTINFO> aggregate, refer to
Chapter 8, "Activation & Account Information."
Tag Description
<INVACCTINFO>
Investment-account-information-record aggregate
<INVACCTFROM>
Account at FI, see 13.6.1
</INVACCTFROM>
<USPRODUCTTYPE>
Classification of account. See section 13.6.2.1 for values
<CHECKING>
Whether the account has check writing privileges, Boolean
<SVCSTATUS>
Activation status for investment statement download for the account.
ACTIVE (signed up), PEND (in the process of signing up), AVAIL
(have not signed up).
<INVACCTTYPE>
Type of account. INDIVIDUAL, JOINT, TRUST, CORPORATE
<OPTIONLEVEL>
Text description of option trading privileges, A-40
</INVACCTINFO>
If an investment account has payments functionality, the analogous PMTINFO aggregate (see 12.5.2)
should also be sent in the ACCTINFO for the account. Payment information will be sent using the message
sets described in the
12.5.2 , "Payment Information <PMTINFO>."
OFX 2.1.1 Specification 4335/1/06
13.6.2.1 Values for <USPRODUCTTYPE>
<USPRODUCTTYPE> classifies accounts according to their account type. Valid values are:
Product Type Description
401K A 401(K) account
403B A 403(B) account
IRA An IRA account
KEOGH Keogh (Money Purchase/Profit
Sharing)
OTHER Other account type
SARSEP Salary Reduction Simplified Employer
Pension plan
SIMPLE Savings Incentive Match Plan for
employees
NORMAL Regular account
TDA Tax Deferred Annuity
TRUST Trust (including UTMA)
UGMA Custodial account
Note: Server should return 401K as the value for <USPRODUCTTYPE> in the
<INVACCTINFO> aggregate for 401(k) accounts.
13.6.2.2 International Note
The <USPRODUCTTYPE> element is intended for use by FIs in the United States. OFX will be expanded
to provide equivalent elements to support the needs for other countries.
13.6.3 Brokerage, Mutual Fund, and 401K Accounts
Investment accounts include brokerage accounts, mutual fund accounts, 401(k) accounts, and other
retirement accounts. OFX supports transactions, positions, balances, and open orders for all of these
account types.
13.6.3.1 401(k) Accounts
401(k) accounts have the following additional characteristics:
Funds can be provided which are to be considered “before tax” or “after tax”. In addition, funds can be
provided which are not immediately available to the user (vesting of employer contributed funds). The
separate sources of funds must be tracked separately in order to properly report the users account.
434 13.7 Investment Message Sets and Profile
The user may, in some circumstances, borrow cash from the account, then repay it over time. Securities
are sold to raise cash for the loan to be made; securities are purchased as loans are repaid.Repayments
use the same source of money from which the loan was withdrawn.
Some servers may not report the cash transactions, e.g. deposits are immediately used to purchase
securities and only the buy transactions are reported. Similarly, securities are sold to fund a withdrawal
and only the sell transactions are reported and not the actual withdrawal transaction.
13.6.3.2 Note on Downloading Positions and Transaction Detail for Investment
Accounts
In order for clients to properly show the user the state of an investment account (especially 401(k)
accounts), it is important that position and transaction detail information be downloaded. This allows the
reporting of account performance down to the level of the individual securities.
Note: For investment accounts, even though OFX does not require the downloading of the
<INVPOSLIST> in the response when the <INCPOS> flag is set in the request, it is highly
recommended that servers return this information. Similarly, even though OFX does not
require the downloading of the <INVTRANLIST> in the response when the <INCTRAN> flag
is set in the request, it is highly recommended that servers return this information as well.
13.7 Investment Message Sets and Profile
OFX separates messages that the client and server send into groups called message sets. Each financial
institution defines the message sets that the institution supports. The messages described in this chapter fall
into two message sets:
Investment Statement Download
Security Information
Each message set contains options that allow a financial institution to customize its use of OFX. For
example, an institution can support the Investment Statement Download Set (INVSTMTMSGSETV1), but
it can choose not to support the download of open orders.
The options and attributes are defined in the profile as part of each message set definition. Each set of
options and attributes appears within an aggregate that is specific to a message set. For example,
<INVSTMTMSGSETV1> contains all the options and attributes that pertain to investment statement
download.
OFX 2.1.1 Specification 4355/1/06
13.7.1 Investment Statement Download
13.7.1.1 Investment Message Set Profile <INVSTMTMSGSET>
The investment statement message set profile aggregate <INVSTMTMSGSET> is used in the response to
a financial institution profile request (see
Chapter 7, "FI Profile") to specify which activities it supports.
Tag Description
<INVSTMTMSGSET>
Investment-statement-message-set-profile aggregate
<INVSTMTMSGSETV1>
Version 1 message set
<MSGSETCORE>
Common message set information, see Chapter 7, "FI Profile"
</MSGSETCORE>
<TRANDNLD>
Whether the FI server downloads investment statement transactions, Boolean
<OODNLD>
Whether the FI server downloads investment open orders, Boolean
<POSDNLD>
Whether the FI server downloads investment statement positions, Boolean
<BALDNLD>
Whether the FI server downloads investment balances, Boolean
<CANEMAIL>
Whether the FI supports investment e-mail. Use generic e-mail profile to specify
whether generic e-mail is supported; see Chapter 9, "Customer to FI
Communication." Boolean
<INV401KDNLD>
Whether the FI server downloads 401(k) account information, Boolean
<CLOSINGAVAIL>
Closing statement information available. If ’N’ or not present, do not sent
<INVSTMTENDRQ> to server,
Boolean
<IMAGEPROF>
Image profile (if supported), see section 3.1.6.2
</IMAGEPROF>
</INVSTMTMSGSETV1>
</INVSTMTMSGSET>
436 13.7 Investment Message Sets and Profile
13.7.1.2 Investment Statement Message Set and Messages
The following tables show the OFX transactions and their corresponding transaction wrappers for requests
and responses.
13.7.1.2.1 Investment Statement Message Set Request Messages
Tag Description
<INVSTMTMSGSRQV1>
INVSTMTTRNRQ
INVSTMTTRQ
INVMAILTRNRQ
INVMAILRQ
INVMAILSYNCRQ
INVSTMTENDTRNRQ
INVSTMTENDRQ
</INVSTMTMSGSRQV1>
OFX 2.1.1 Specification 4375/1/06
13.7.1.2.2 Investment Statement Message Set Response Messages
Tag Description
<INVSTMTMSGSRSV1>
INVSTMTTRNRS
INVSTMTRS
INVMAILTRNRS
INVMAILRS
INVMAILSYNCRS
INVSTMTENDTRNRS
INVSTMTENDRS
</INVSTMTMSGSRSV1>
438 13.7 Investment Message Sets and Profile
13.7.2 Security Information
13.7.2.1 Security List Message Set Profile <SECLISTMSGSET>
The security list message set profile aggregate <SECLISTMSGSET> is used in the response to an FI
profile request (see Chapter 7, “FI Profile”) to specify which activities it supports.
Tag Description
<SECLISTMSGSET>
Security-information-message-set-profile aggregate
<SECLISTMSGSETV1>
Version 1 message set
<MSGSETCORE>
Common message set information, see Chapter 7, "FI Profile"
</MSGSETCORE>
<SECLISTRQDNLD>
Whether the FI server responds to security list requests, Boolean
</SECLISTMSGSETV1>
</SECLISTMSGSET>
OFX 2.1.1 Specification 4395/1/06
13.7.2.2 Security List Message Set and Messages
13.7.2.2.1 Security List Message Set Request Messages
Tag Description
<SECLISTMSGSRQV1>
SECLISTTRNRQ
SECLISTRQ
</SECLISTMSGSRQV1>
440 13.7 Investment Message Sets and Profile
13.7.2.2.2 Security List Message Set Response Messages
Tag Description
<SECLISTMSGSRSV1>
SECLISTTRNRS
SECLISTRS
SECLIST
</SECLISTMSGSRSV1>
Note: The <SECLISTMSGSRS> aggregate may appear in a response file when no
corresponding <SECLISTMSGSRQ> aggregate appears in the request file. Servers should add
the message set response wrapper only when downloading a statement and providing the
<SECLIST>.
OFX 2.1.1 Specification 4415/1/06
13.8 Investment Securities
13.8.1 Security Identification <SECID>
Securities must be consistently identified to allow client applications to prepare accurate investment
reports across all user investment accounts, even at multiple FIs. At this time, neither a security name nor
its symbol is standardized. Therefore, OFX uses CUSIP numbers (a unique 9-digit alphanumeric
identifier) to identify securities. CUSIP numbers are available for the vast majority of securities traded
today, including those without symbols such as bonds. For a security that does not have a CUSIP, a
financial institution must follow the standard procedure of assigning a CUSIP by using itself as the issuer
to avoid conflict with any other CUSIP.
Tag Description
<SECID>
Security-identifier aggregate
<UNIQUEID>
Unique identifier for the security. CUSIP for US FIs. A-32
<UNIQUEIDTYPE>
Name of standard used to identify the security i.e., “CUSIP” for FIs in the United
States, A-10
</SECID>
13.8.1.1 International Note
Non-US financial institutions that do not have access to CUSIP numbers must supply a unique identifier
for each security in the UNIQUEID field of this aggregate. OFX will be expanded to include other security
identifying standards.
13.8.2 Security List Request
The user can use the SECLISTTRNRQ and SECLISTRQ aggregates to request information about specific
securities. The SECLISTTRNRQ is the transaction-level aggregate that contains the SECLISTRQ. The
SECLISTRQ aggregate specifies for which securities information is being requested.
442 13.8 Investment Securities
13.8.2.1 Security List Transaction Request <SECLISTTRNRQ>
Tag Description
<SECLISTTRNRQ>
Transaction-request aggregate
<TRNUID>
Client-assigned globally unique ID for this transaction trnuid
<CLTCOOKIE>
Data to be echoed in the transaction response, A-32
<TAN>
Transaction authorization number; used in some countries with some types of
transactions. Country-specific documentation will define messages that require a
<TAN>,
A-80
<SECLISTRQ>
Aggregate for the security list request (see section 13.8.2.2)
</SECLISTRQ>
</SECLISTTRNRQ>
13.8.2.2 Security List Request <SECLISTRQ>
For the security list request, securities must be specified with either a SECID aggregate, a ticker symbol, or
an FI assigned identifier.
Tag Description
<SECLISTRQ>
Security-list-request aggregate
<SECRQ>
Security request (one or more)
Security identification.
Specify either
<SECID>,
<TICKER>, or
<FIID>
.
<SECID>
Security identifier aggregate
</SECID>
-or-
<TICKER>
-or-
Ticker symbol, A-32
<FIID>
FI specific ID for the security, A-32
</SECRQ>
</SECLISTRQ>
OFX 2.1.1 Specification 4435/1/06
13.8.3 Security List Response
If the client sends a security list request to an FI, then the server must send back a security list response to
the client application. The security list response is used primarily to report the status of the security list
request. The actual security information should be sent in the security list SECLIST aggregate described in
section
13.8.4.
13.8.3.1 Security List Transaction Response <SECLISTTRNRS>
Tag Description
<SECLISTTRNRS>
Transaction-response aggregate
<TRNUID>
Client-assigned globally unique ID for this transaction trnuid
<STATUS>
Status aggregate
</STATUS>
<CLTCOOKIE>
Client-provided data, REQUIRED if provided in request, A-32
<SECLISTRS>
Aggregate for the security list response, see 13.8.3.3
</SECLISTRS>
</SECLISTTRNRS>
13.8.3.2 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2019 Duplicate request (ERROR)
12500 One or more securities not found (ERROR)
13.8.3.3 Security List Response <SECLISTRS>
The security list response aggregate, the only empty aggregate in OFX, is used to respond to the
<SECLISTRQ>. It is used to signify that the security list is generated as a result of a security list request.
The actual security information should be included in the <SECLIST> aggregate.
Tag Description
<SECLISTRS>
Security-list-response (the only empty aggregate in OFX).
</SECLISTRS>
444 13.8 Investment Securities
13.8.4 Security List <SECLIST>
The SECLIST should be sent in the following two cases.
In response to a <SECLISTRQ>.
Note: An empty <SECLISTRS> is sent in response to the <SECLISTRQ>. The <SECLIST>
aggregate is sent after the <SECLISTTRNRS> aggregate that wraps the <SECLISTRS>.
When the response file contains an investment statement download that has positions, transactions, or
open orders. The <SECLIST> should contain information about each security referenced in the
investment statement download. Clients are completely dependent on the security list to provide
descriptive information for the securities referenced in positions, transactions, and open orders.
Note: The <SECLISTMSGSRSV1> aggregate may appear in a response file when no
corresponding <SECLISTMSGSRQV1> aggregate appears in the request file. Servers should
add the message set response wrapper only when downloading a statement and providing the
<SECLIST>.
Tag Description
<SECLIST>
Security-list-request aggregate
<xxxINFO>
Security information aggregates (zero or more): <DEBTINFO>, <MFINFO>,
<OPTINFO>, <OTHERINFO>, or <STOCKINFO>.
While allowed by the DTD, servers should not send an empty <SECLIST> aggregate.
</xxxINFO>
</SECLIST>
13.8.5 Securities Information
The <MFINFO>, <STOCKINFO>, <OPTINFO>, <DEBTINFO>, and <OTHERINFO> aggregates
provide security information. They define the type of security, and one or more sets of descriptive
information. These aggregates relate the <SECID> used in positions, transactions, and open orders to
describe information about those securities. In this way, the system describes a given security only once,
no matter how many times it is referenced.
OFX 2.1.1 Specification 4455/1/06
13.8.5.1 General Securities Information <SECINFO>
The <SECINFO> aggregate contains fields that are common to all security types. This aggregate is used in
the security type specific aggregates in the following sections.
Tag Description
<SECINFO>
Security-information aggregate
<SECID>
Security-identifier aggregate
</SECID>
<SECNAME>
Full name of security, A-120
<TICKER>
Ticker symbol (at most one), A-32
<FIID>
FI ID number for this security (at most one), A-32
<RATING>
Rating, A-10
<UNITPRICE>
Current price of security, unitprice
<DTASOF>
Date as of for the unit price, datetime
<CURRENCY>
Overriding currency aggregate for unit price, see section 5.2
</CURRENCY>
<MEMO>
Memo
</SECINFO>
446 13.8 Investment Securities
13.8.5.2 Debt Information <DEBTINFO>
Tag Description
<DEBTINFO>
Opening tag for debt information aggregate
<SECINFO>
Security information aggregate
</SECINFO>
<PARVALUE>
Par value, amount
<DEBTTYPE>
Debt type (at most one)
COUPON = coupon
ZERO = zero coupon
<DEBTCLASS>
Classification of debt. TREASURY, MUNICIPAL, CORPORATE, OTHER.
<COUPONRT>
Bond coupon rate for next closest call date (at most one), rate
<DTCOUPON>
Maturity date for next coupon, date
<COUPONFREQ>
When coupons mature. One of the following values: MONTHLY, QUARTERLY,
SEMIANNUAL, ANNUAL, or OTHER.
<CALLPRICE>
Bond call price (at most one), unitprice
<YIELDTOCALL>
Yield to next call, rate
<DTCALL>
Next call date (at most one), date
<CALLTYPE>
Type of next call. CALL, PUT, PREFUND, MATURITY
<YIELDTOMAT>
Yield to maturity, rate
<DTMAT>
Debt maturity date (at most one), date
<ASSETCLASS>
Asset Class (at most one), DOMESTICBOND, INTLBOND, LARGESTOCK
SMALLSTOCK, INTLSTOCK, MONEYMRKT, OTHER
<FIASSETCLASS>
Text string containing an FI defined asset class, A-32
</DEBTINFO>
OFX 2.1.1 Specification 4475/1/06
13.8.5.3 Mutual Fund Information <MFINFO>
Tag Description
<MFINFO>
Mutual-fund-information aggregate
<SECINFO>
Security-information aggregate
</SECINFO>
<MFTYPE>
Mutual fund type. OPENEND, CLOSEEND, OTHER
<YIELD>
Current yield reported as portion of the fund’s assets (at most one), rate
<DTYIELDASOF>
As-of date for yield value, datetime
<MFASSETCLASS>
Asset class breakdown for the mutual fund
<PORTION>
Portion of the mutual fund with a specific asset classification (one or more)
<ASSETCLASS>
Asset Class, DOMESTICBOND, INTLBOND, LARGESTOCK
SMALLSTOCK, INTLSTOCK, MONEYMRKT, OTHER
<PERCENT>
Percentage of the fund that falls under this asset class, rate
</PORTION>
</MFASSETCLASS>
<FIMFASSETCLASS>
FI defined asset class breakdown for the mutual fund
<FIPORTION>
Portion of the mutual fund with a specific asset classification (one or more)
<FIASSETCLASS>
Text string containing an FI defined asset class, A-32
<PERCENT>
Percentage of the fund that falls under this asset class, rate
</FIPORTION>
</FIMFASSETCLASS>
</MFINFO>
448 13.8 Investment Securities
13.8.5.4 Option Information <OPTINFO>
Tag Description
<OPTINFO>
Option-information aggregate
<SECINFO>
Security-information aggregate
</SECINFO>
<OPTTYPE>
Option type:
PUT = put
CALL = call
<STRIKEPRICE>
Strike price unitprice
<DTEXPIRE>
Expiration date, date
<SHPERCTRCT>
Shares per contract, N-5
<SECID>
Security ID of the underlying security
</SECID>
<ASSETCLASS>
Asset Class (at most one), DOMESTICBOND, INTLBOND, LARGESTOCK
SMALLSTOCK, INTLSTOCK, MONEYMRKT, OTHER
<FIASSETCLASS>
Text string containing an FI defined asset class, A-32
</OPTINFO>
13.8.5.5 Other Security Type Information <OTHERINFO>
Use this aggregate for security types other than debts, mutual funds, options, and stocks.
Tag Description
<OTHERINFO>
Other aggregate.
<SECINFO>
Security information aggregate
</SECINFO>
<TYPEDESC>
Description of security type, A-32
<ASSETCLASS>
Asset Class (at most one), DOMESTICBOND, INTLBOND, LARGESTOCK
SMALLSTOCK, INTLSTOCK, MONEYMRKT, OTHER
<FIASSETCLASS>
Text string containing an FI defined asset class, A-32
</OTHERINFO>
OFX 2.1.1 Specification 4495/1/06
13.8.5.6 Stock Information <STOCKINFO>
Tag Description
<STOCKINFO>
Stock-information aggregate
<SECINFO>
Security-information aggregate
</SECINFO>
<STOCKTYPE>
Stock type: COMMON, PREFERRED, CONVERTIBLE, OTHER
<YIELD>
Current yield reported as the dividend expressed as a portion of the current stock
price (at most one), rate
<DTYIELDASOF>
As-of date for yield value, datetime
<ASSETCLASS>
Asset Class (at most one): DOMESTICBOND, INTLBOND, LARGESTOCK
SMALLSTOCK, INTLSTOCK, MONEYMRKT, OTHER
<FIASSETCLASS>
Text string containing an FI defined asset class, A-32
</STOCKINFO>
13.8.5.7 Asset Class Descriptions
Asset Class Description
DOMESTICBOND The Domestic Bonds asset class consists of government or corporate bonds issued in
the United States.
INTLBOND The International Bonds asset class consists of government or corporate bonds
issued in foreign countries or the United States.
LARGESTOCK The Large Cap Stocks asset class consists of stocks for U.S. companies with market
capitalizations of $2 billion or more.
SMALLSTOCK The Small Cap Stocks asset class consists of stocks for U.S. companies with market
capitalizations of approximately $100 million to $2 billion.
INTLSTOCK The International Stocks asset class consists of publicly-traded stocks for companies
based in foreign countries.
MONEYMRKT The Money Market asset class consists of stable, short-term investments which
provide income that rises and falls with short-term interest rates.
OTHER The Other asset class consists of investments which do not fit in any of the other
asset classes.
450 13.9 Investment Statement Download
13.9 Investment Statement Download
Investment statement download allows a customer to receive transactions, positions, open orders, and
balances that are typically part of a regular paper statement.
Clients usually allow customers to view investment transactions and guide customers through a process of
updating their account registers based on the downloaded transactions. By using <FITID> values supplied
by FIs, OFX makes it possible for clients to insure that each transaction is downloaded only once. The
request also contains starting and ending dates to limit the amount of downloaded data. Clients can
remember the last date they receive a download, and use that date as the starting date in the next request.
Investment statement download requires the client to designate an account for the download, and to
indicate what type of data should be downloaded. If the client wishes to download transactions, it can
specify a date range that the transactions fall within. The server returns transactions that match the date
range, if one is specified. If a date range is not specified, the server returns all available transactions for the
account.
13.9.1 Investment Statement Request
Investment statement download can be requested using the INVSTMTTRNRQ and INVSTMTRQ
aggregates. The INVSTMTTRNRQ is the transaction level aggregate that contains the INVSTMTRQ. The
INVSTMTRQ aggregate specifies what types of information to include in the statement download and
from which account to download the information.
Image transaction information can be requested by including <INCTRANIMG>Y in a <INVSTMTRQ>,
requesting the server to return image data corresponding to transaction images, if available. The image
identification data returned in the <STMTTRN> aggregate (see section
11.4.3) is not the actual image, but
will be used to access the image through subsequent client sessions. See Chapter 15, “Image Download”,
for more information about retrieving images from the server.
OFX 2.1.1 Specification 4515/1/06
13.9.1.1 Investment Statement Transaction Request <INVSTMTTRNRQ>
Tag Description
<INVSTMTTRNRQ>
Transaction-request aggregate
<TRNUID>
Client-assigned globally unique ID for this transaction, trnuid
<CLTCOOKIE>
Data to be echoed in the transaction response, A-32
<TAN>
Transaction authorization number; used in some countries with some types of
transactions. Country-specific documentation will define messages that require a
<TAN>,
A-80
<INVSTMTRQ>
Aggregate for the investment statement download request (see section 13.9.1.2)
</INVSTMTRQ>
</INVSTMTTRNRQ>
13.9.1.2 Investment Statement Request <INVSTMTRQ>
The following table shows the Investment Statement Request record. It is similar to a bank statement
request, except that there are extra elements to indicate which pieces the user desires. Note that because
transaction and position requests require date information, they use aggregates, whereas the other requests
are elemental of type Boolean.
Clients and servers should interpret <DTSTART> and <DTEND> as described in Chapter 3, "Common
Aggregates, Elements, and Data Types." If an investment statement download request does not contain
<DTSTART> or <DTEND> elements but does request transactions and if no transactions are found on the
server, the response may or may not include an <INVTRANLIST>. If the <INVTRANLIST> is included,
the server should leave out the empty <INVBANKTRAN> aggregate(s).
If <DTASOF> is not included with the <INCPOS> aggregate, the server should return the most current
position information available.
If the profile indicates that 401(k) investment information is available, the <INC401K> and
<INC401KBAL> can be used.
If <INCTRANIMG>Y is included in the request, the client is asking for any and all images available for
the transactions returned. The image information will be returned in the <STMTTRN> aggregate
associated with each banking transaction in the response.
Tag Description and Type
<INVSTMTRQ>
Investment-request aggregate
<INVACCTFROM>
Account-from aggregate, see 13.6.1
</INVACCTFROM>
452 13.9 Investment Statement Download
<INCTRAN>
Include-transactions aggregate (at most one)
<DTSTART>
Start date of request, datetime
<DTEND>
Ending date of request (at most one), datetime
<INCLUDE>
Whether to include transactions in the statement download, Boolean
</INCTRAN>
<INCOO>
Include investment open orders in response, Boolean
<INCPOS>
Include investment positions in response
<DTASOF>
Date that positions should be sent down for, datetime
<INCLUDE>
Whether to include positions in the statement download, Boolean
</INCPOS>
<INCBAL>
Include investment balance in response, Boolean
<INC401K>
Include 401(k) information in response, Boolean
<INC401KBAL>
Include 401(k) balance information in response, Boolean
<INCTRANIMG>
Include image information for banking transactions, Boolean
</INVSTMTRQ>
Tag Description and Type
OFX 2.1.1 Specification 4535/1/06
13.9.2 Investment Statement Response
13.9.2.1 Investment Statement Transaction Response <INVSTMTTRNRS>
Tag Description
<INVSTMTTRNRS>
Transaction-response aggregate
<TRNUID>
Client-assigned globally unique ID for this transaction, trnuid
<STATUS>
Status aggregate
</STATUS>
<CLTCOOKIE>
Client-provided data, REQUIRED if provided in request, A-32
<INVSTMTRS>
Aggregate for the investment statement download response (see section 13.9.2.2)
</INVSTMTRS>
</INVSTMTTRNRS>
13.9.2.2 Investment Statement Response <INVSTMTRS>
The response can contain transaction, position, open order, and/or balance detail records; each in its own
aggregate. The transaction list aggregate can contain a mixture of bank statement records and investment
transactions, as specified below.
For 401(k) accounts, both the <INV401KBAL> and the <INVBAL> aggregates can be returned if asked
for specifically. In other words, for 401(k) accounts the <INV401KBAL> aggregate is returned if asked
for by the client with the <INC401KBAL> flag, and the <INVBAL> aggregate is returned if <INCBAL>
is Y.
Tag Description
<INVSTMTRS>
Investment-response aggregate
<DTASOF>
As of date & time for the statement download, datetime
<CURDEF>
Default currency for the statement, currsymbol
<INVACCTFROM>
Which account at FI, see 13.6.1
</INVACCTFROM>
<INVTRANLIST>
Begin transaction list (at most one)
<DTSTART>
Start date for transaction data, datetime
<DTEND>
This is the value that should be sent in the next <DTSTART> request to insure
that no transactions are missed, datetime
(investment transaction
aggregates
)
Investment statement transaction aggregates (zero or more); see section
13.9.2.4.4.
454 13.9 Investment Statement Download
The various sections of the investment statement download are returned only if requested.
13.9.2.2.1 Note on Margin Calls
For investment statement download, margin call information should be included in the balances section.
Margin call information should be contained in a <BAL> aggregate and included in the balance list
<BALLIST>.
<INVBANKTRAN>
Banking-related transactions for the investment account (zero or more)
</INVBANKTRAN>
(See section 13.9.2.3)
</INVTRANLIST>
End of investment transaction list
<INVPOSLIST>
Beginning of investment position list
Though the DTD allows an empty <INVPOSLIST> in the response, servers
should instead leave out the optional list aggregate.
<POSxxxxx>
Security type specific position aggregates (zero or more): POSMF, POSSTOCK,
POSDEBT, POSOPT, POSOTHER
</POSxxxxx>
</INVPOSLIST>
End of investment position list
<INVBAL>
Balances aggregate, see section 13.9.2.7
</INVBAL>
<INVOOLIST>
Beginning of investment open order list
Though the DTD allows an empty <INVOOLIST> in the response, servers should
instead leave out the optional list aggregate.
<OOxxxxx>
Action and security type specific open order aggregates (zero or more): see
section 13.9.2.5.2
</OOxxxxx>
</INVOOLIST>
End of investment open order list
<MKTGINFO>
Marketing information (at most one), A-360.
<INV401K>
401(k) information aggregate (at most one) (See section 13.9.3).
</INV401K>
End of 401(k) information.
<INV401KBAL>
401(k) balance information aggregate (see section 13.9.2.9).
</INV401KBAL>
End of 401(k) balance information.
</INVSTMTRS>
Tag Description
OFX 2.1.1 Specification 4555/1/06
13.9.2.3 Bank Transactions <INVBANKTRAN>
Use the INVBANKTRAN aggregate to download bank transactions in an investment statement download.
Tag Description
<INVBANKTRAN>
Banking related transactions for the investment account
<STMTTRN>
Bank (cash) transaction aggregates
</STMTTRN>
(See Chapter 11, "Banking")
<SUBACCTFUND>
The sub-account associated with the funds for the transaction; see section 13.9.2.4.2
</INVBANKTRAN>
13.9.2.4 Investment Transactions
Note that the following types of investment actions found on statements should not be sent in OFX:
Transaction-specific miscellaneous/fees—fees or other amounts that affect the basis of the transaction
should be incorporated into the <COMMISSION>, <FEES>, <LOAD>, <PENALTY>,
<WITHHOLDING>, <STATEWITHHOLDING> or <TAXES> amounts.
Settlement actions.
Sweeps, unless handled as any other investment position.
For transactions that involve securities, the client can create transactions based on the formula
total = (units * (unitprice +/- markup/markdown)) +/- (commission + fees + load + taxes + penalty +
withholding + statewithholding)
(after adjusting quantity and unitprice to standard units based on the type of security.)
Thus, it is important the FIs incorporate all other transactional fees into the commission field. Clients can
account for bond accrued interest and withholding using separate client transactions.
456 13.9 Investment Statement Download
13.9.2.4.1 General Transaction Aggregate <INVTRAN>
The <INVTRAN> aggregate contains fields common to many of the investment transactions. It is
referenced within the transaction aggregates in the following sections.
Each <INVTRAN> contains an <FITID> that the client uses to detect whether the server previously
downloaded the transaction.
Tag Description
<INVTRAN>
Investment-transaction-response aggregate
<FITID>
Unique FI-assigned transaction ID.
This ID is used to detect duplicate downloads. FITID
<SRVRTID>
Server assigned transaction ID, SRVRTID
<DTTRADE>
Trade date; for stock splits, day of record, datetime
<DTSETTLE>
Settlement date; for stock splits, execution date, datetime
<REVERSALFITID>
For a reversal transaction, the FITID of the transaction that is being reversed.
See section 13.9.2.4.1.1 for details, FITID
<MEMO>
Other information about transaction (at most one), memo
</INVTRAN>
13.9.2.4.1.1 Transaction Reversals
Reversals may be accomplished using two different mechanisms, depending on the support for
<REVERSALFITID> at the client.
Older clients that do not support <REVERSALFITID> will have transactions reversed using the opposite
transaction type when appropriate, e.g., a correction to a buy is returned as a sell. Because investment
transactions cannot include negative amounts, certain transaction components such as commissions and
fees can be reversed by sending an <INVBANKTRAN>.
Newer clients that do support <REVERSALFITID> will have transactions reversed using the same
transaction type as was originally sent. The <REVERSALFITID> must contain the <FITID> of the
transaction that is being reversed. The client will reverse all components of the original transaction
including commissions and fees. Partial corrections are not allowed when transactions are reversed by use
of the <REVERSALFITID> tag. The <FITID> of the new reversal transaction shall be new and unique
(not the same as the <REVERSALFITID>).
OFX 2.1.1 Specification 4575/1/06
13.9.2.4.2 Transaction Aggregate Elements
The following elements are referenced within of the following investment transaction aggregates.
Tag Description
<ACCRDINT>
For debt purchases, accrued interest, amount
<AVGCOSTBASIS>
Average cost basis, amount
<BUYTYPE>
Type of purchase: BUY, BUYTOCOVER
<COMMISSION>
Transaction commission. amount
<DENOMINATOR>
For stock splits, split ratio denominator, quantity
<DTPAYROLL>
For 401(k)accounts, date the funds for this transaction was obtained via payroll
deduction, datetime
<DTPURCHASE>
The security’s original purchase date, date
<GAIN>
For sales, total gain, amount
<FEES>
Fees applied to trade, amount
<FRACCASH>
Cash for fractional units., (used for stock splits), amount
<INCOMETYPE>
Type of investment income: CGLONG (capital gains-long term), CGSHORT
(capital gains-short term), DIV (dividend), INTEREST, MISC
<INV401KSOURCE>
For 401(k) accounts, source of money used for this security. Must be one of the
following:
PRETAX
AFTERTAX
MATCH
PROFITSHARING
ROLLOVER
OTHERVEST
OTHERNONVEST
Default if not present is OTHERNONVEST. The following cash source types
are subject to vesting: MATCH, PROFITSHARING, and OTHERVEST.
<LOAD>
Load on the transaction, amount
<LOANID>
For 401(k) accounts only. Indicates that the transaction was due to a loan or a
loan repayment, and which loan it was. A-32
<LOANINTEREST>
For 401(k) accounts only. Indicates how much of the loan repayment was
interest. Amount
<LOANPRINCIPAL>
For 401(k) accounts only. Indicates how much of the loan repayment was
principal. Amount
<MARKDOWN>
Portion of the unit price that is attributed to the dealer markdown, unitprice
458 13.9 Investment Statement Download
<MARKUP>
Portion of the unit price that is attributed to the dealer markup, unitprice
<NEWUNITS>
For stock splits, number of shares after the split, quantity
<NUMERATOR>
For stock splits, split ratio numerator, quantity
<OLDUNITS>
For stock splits, number of shares before the split, quantity
<OPTACTION>
For options, action type: EXERCISE, ASSIGN, EXPIRE
<OPTBUYTYPE>
For options, type of purchase: BUYTOOPEN, BUYTOCLOSE
<OPTSELLTYPE>
For options, type of sell: SELLTOCLOSE, SELLTOOPEN
<PENALTY>
Indicates an amount withheld due to a penalty. Amount
<POSTYPE>
Position type. LONG, SHORT
<PRIORYEARCONTRIB>
For 401(k) accounts, indicates that this Buy was made with a prior year
contribution. Boolean
<RELFITID>
ID of related trade, FITID
<RELTYPE>
Related option transaction type: SPREAD, STRADDLE, NONE, OTHER
<SECURED>
How an option is secured: NAKED, COVERED
<SELLREASON>
Reason the sell of a debt security was generated: CALL (the debt was called),
SELL (the debt was sold), MATURITY (the debt reached maturity)
<SELLTYPE>
Type of sell. SELL, SELLSHORT
<SHPERCTRCT>
For options, number of shares per contract, N-5
<STATEWITHHOLDING>
Used for withholdings for state taxes on a withdrawal. The (existing)
<WITHHOLDING> tag is used for identifying withholdings for Federal Taxes,
amount
<SUBACCTFROM>
Sub-account that security or cash is being transferred from: CASH, MARGIN,
SHORT, OTHER
<SUBACCTFUND>
Where did the money for the transaction come from or go to? CASH, MARGIN,
SHORT, OTHER
<SUBACCTSEC>
Sub-account type for the security: CASH, MARGIN, SHORT, OTHER
<SUBACCTTO>
Sub-account that security or cash is being transferred to: CASH, MARGIN,
SHORT, OTHER
<TOTAL>
Transaction total. Buys, sells, etc.:((quan. * (price +/- markup/markdown)) +/-
(commission + fees + load + taxes + penalty + withholding + statewithholding)).
Distributions, interest, margin interest, misc. expense, etc.: amount. Return of
cap: cost basis;
amount
<TAXES>
Taxes on the trade, amount
<TAXEXEMPT>
Tax-exempt transaction, Boolean
Tag Description
OFX 2.1.1 Specification 4595/1/06
13.9.2.4.3 Investment Buy/Sell Aggregates <INVBUY>/<INVSELL>
These aggregates are referenced within investment transaction aggregates
Note: For 401(k) accounts, securities can be sold to fund loans or other withdrawals. Loans
and loan repayments, and penalties are shown as part of the Buy and Sell transactions, rather
than directly on any associated Deposit or Withdrawal bank transactions (see section 11.4.3.1)
because some 401(k) providers might not report these bank transactions.
Also, for 401(k) accounts, as loans are repaid the funds are disbursed into the 401(k) sources of
money from where they were originally withdrawn. To accurately reflect the disbursement of
repaid funds into each source, a separate Buy transaction will be issued with the
<INV401KSOURCE> tag set to indicate the source of money. Each of these transactions will
include the amount of principal and/or interest paid to the source.
<TFERACTION>
Action for transfers: IN, OUT
<UNITPRICE>
Price per commonly-quoted unit. Does not include markup/markdown,
unitprice.
Share price for stocks, mutual funds, and others
Percentage of par for bonds
Per share (not contract) for options
<UNITS>
For security-based actions other than stock splits, quantity
Shares for stocks, mutual funds, and others.
Face value for bonds.
Contracts for options.
<UNITTYPE>
Type of the units value: SHARES, CURRENCY
<WITHHOLDING>
Federal Tax withholdings, amount
Tag Description
460 13.9 Investment Statement Download
Aggregate Name Elements Description
INVBUY <INVTRAN> aggregate
<SECID> aggregate
<UNITS>
<UNITPRICE>
<MARKUP>
<COMMISSION>
<TAXES>
<FEES>
<LOAD>
<TOTAL>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
<SUBACCTSEC>
<SUBACCTFUND>
<LOANID>
<LOANPRINCIPAL>
<LOANINTEREST>
<INV401KSOURCE>
<DTPAYROLL>
<PRIORYEARCONTRIB>
Though the DTD allows
<CURRENCY> and
<ORIGCURRENCY> together in
this aggregate, servers should
return neither or one of the two,
but not both.
Required if
<LOANPRINCIPAL> and
<LOANINTEREST> are
provided. See section
13.9.2.4.2
<LOANID> and
<LOANINTEREST> must be
provided if <LOANPRINCIPAL>
is provided. See section
13.9.2.4.2
<LOANID> and
<LOANPRINCIPAL> must be
provided if <LOANINTEREST>
is provided. See section
13.9.2.4.2
Source of money for this
transaction. See section 13.9.2.4.2
See section 13.9.2.4.2
See section 13.9.2.4.2
OFX 2.1.1 Specification 4615/1/06
INVSELL <INVTRAN> aggregate
<SECID> aggregate
<UNITS>
<UNITPRICE>
<MARKDOWN>
<COMMISSION>
<TAXES>
<FEES>
<LOAD>
<WITHHOLDING>
<TAXEXEMPT>
<TOTAL>
<GAIN>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
<SUBACCTSEC>
<SUBACCTFUND>
<LOANID>
<STATEWITHHOLDING>
<PENALTY>
<INV401KSOURCE>
Though the DTD allows
<CURRENCY> and
<ORIGCURRENCY> together in
this aggregate, servers should
return neither or one of the two,
but not both.
See section 13.9.2.4.2
See section 13.9.2.4.2
See section 13.9.2.4.2
Source of money for this
transaction. See section 13.9.2.4.2
Aggregate Name Elements Description
462 13.9 Investment Statement Download
13.9.2.4.4 Investment Transaction Aggregates
Aggregate Name Elements Description
<BUYDEBT>
<INVBUY> aggregate
<ACCRDINT>
Buy debt security
Accrued interest. This amount is not reflected in
the <TOTAL> field of a containing aggregate.
<BUYMF>
<INVBUY> aggregate
<BUYTYPE>
<RELFITID>
Buy mutual fund
The BUYTOCOVER buy type used to close
short sales.
RELFITID used to relate transactions associated
with mutual fund exchanges.
<BUYOPT>
<INVBUY> aggregate
<OPTBUYTYPE>
<SHPERCTRCT>
Buy option
The BUYTOOPEN buy type is like “ordinary”
buying of option and works like stocks.
<BUYOTHER>
<INVBUY> aggregate Buy other security type
<BUYSTOCK>
<INVBUY> aggregate
<BUYTYPE>
Buy stock
The BUYTOCOVER buy type used to close
short sales.
<CLOSUREOPT>
<INVTRAN> aggregate
<SECID> aggregate
<OPTACTION>
<UNITS>
<SHPERCTRCT>
<SUBACCTSEC>
<RELFITID>
<GAIN>
Close a position for an option.
The EXERCISE action is used to close out an
option that is exercised. The ASSIGN action is
used when an option writer is assigned. The
EXPIRE action is used when the option’s
expired date is reached.
When the action is EXERCISE or ASSIGN
another transaction must be generated by the
server to represent the buy or sell of the
underlying security.
RELFITID refers to the transaction ID of the
underlying buy or sell.
OFX 2.1.1 Specification 4635/1/06
<INCOME>
<INVTRAN> aggregate
<SECID> aggregate
<INCOMETYPE>
<TOTAL>
<SUBACCTSEC>
<SUBACCTFUND>
<TAXEXEMPT>
<WITHHOLDING>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
<INV401KSOURCE>
Investment income is realized as cash into the
investment account.
A negative TOTAL is used to denote
adjustments to income.
Though the DTD allows <CURRENCY> and
<ORIGCURRENCY> together in this aggregate,
servers should return neither or one of the two,
but not both.
Source of money for this transaction. See section
13.9.2.4.2.
<INVEXPENSE>
<INVTRAN> aggregate
<SECID> aggregate
<TOTAL>
<SUBACCTSEC>
<SUBACCTFUND>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
<INV401KSOURCE>
Misc. investment expense that is associated with
a specific security.
If the expense is associated with the account then
an INVBANKTRAN - DEBIT should be used.
Though the DTD allows <CURRENCY> and
<ORIGCURRENCY> together in this aggregate,
servers should return neither or one of the two,
but not both.
Source of money for this transaction. See section
13.9.2.4.2.
<JRNLFUND>
<INVTRAN> aggregate
<SUBACCTTO>
<SUBACCTFROM>
<TOTAL>
Journaling cash holdings between sub-accounts
within the same investment account.
Aggregate Name Elements Description
464 13.9 Investment Statement Download
<JRNLSEC>
<INVTRAN> aggregate
<SECID> aggregate
<SUBACCTTO>
<SUBACCTFROM>
<UNITS>
Journaling security holdings between sub-
accounts within the same investment account.
<MARGININTEREST>
<INVTRAN> aggregate
<TOTAL>
<SUBACCTFUND>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
Margin interest expense
Though the DTD allows <CURRENCY> and
<ORIGCURRENCY> together in this aggregate,
servers should return neither or one of the two,
but not both.
<REINVEST>
<INVTRAN> aggregate
<SECID> aggregate
<INCOMETYPE>
<TOTAL>
<SUBACCTSEC>
<UNITS>
<UNITPRICE>
<COMMISSION>
<TAXES>
<FEES>
<LOAD>
<TAXEXEMPT>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
<INV401KSOURCE>
Reinvestment of income
REINVEST is a single transaction that contains
both income and an investment transaction. If
servers can’t track this as a single transaction
they should return an INCOME transaction and
an INVTRANLIST transaction.
TOTAL and UNITS are signed as for an
investment buy. Corrections to a REINVEST are
signed as for an investment sell.
Though the DTD allows <CURRENCY> and
<ORIGCURRENCY> together in this aggregate,
servers should return neither or one of the two,
but not both.
Source of money for this transaction. See section
13.9.2.4.2.
Aggregate Name Elements Description
OFX 2.1.1 Specification 4655/1/06
<RETOFCAP>
<INVTRAN>
<SECID>
<TOTAL>
<SUBACCTSEC>
<SUBACCTFUND>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
<INV401KSOURCE>
Return of capital
Though the DTD allows <CURRENCY> and
<ORIGCURRENCY> together in this aggregate,
servers should return neither or one of the two,
but not both.
Source of money for this transaction. See section
13.9.2.4.2.
<SELLDEBT>
<INVSELL> aggregate
<SELLREASON>
<ACCRDINT>
Sell debt security. Used when debt is sold,
called, or reached maturity.
<SELLMF>
<INVSELL> aggregate
<SELLTYPE>
<AVGCOSTBASIS>
<RELFITID>
Sell mutual fund
RELFITID used to relate transactions associated
with mutual fund exchanges.
<SELLOPT>
<INVSELL> aggregate
<OPTSELLTYPE>
<SHPERCTRCT>
<RELFITID>
<RELTYPE>
<SECURED>
Sell option
The SELLTOCLOSE action is selling a
previously bought option. The SELLTOOPEN
action is writing an option
<SELLOTHER>
<INVSELL> aggregate Sell other type of security
<SELLSTOCK>
<INVSELL> aggregate
<SELLTYPE>
Sell stock
Aggregate Name Elements Description
466 13.9 Investment Statement Download
<SPLIT>
<INVTRAN> aggregate
<SECID> aggregate
<SUBACCTSEC>
<OLDUNITS>
<NEWUNITS>
<NUMERATOR>
<DENOMINATOR>
<CURRENCY> aggregate
<ORIGCURRENCY> aggregate
<FRACCASH>
<SUBACCTFUND>
<INV401KSOURCE>
Stock or Mutual Fund Split
Note: the trade date is interpreted as the “day of
record” for the split.
Though the DTD allows <CURRENCY> and
<ORIGCURRENCY> together in this aggregate,
servers should return neither or one of the two,
but not both.
Source of money for this transaction. See section
13.9.2.4.2.
<TRANSFER>
<INVTRAN> aggregate
<SECID> aggregate
<SUBACCTSEC>
<UNITS>
<TFERACTION>
<POSTYPE>
<INVACCTFROM> aggregate
<AVGCOSTBASIS>
<UNITPRICE>
<DTPURCHASE>
<INV401KSOURCE>
Transfer holdings in and out of the investment
account.
Source of money for this transaction. See section
13.9.2.4.2.
Aggregate Name Elements Description
OFX 2.1.1 Specification 4675/1/06
13.9.2.4.5 Valid Transactions by Security Type
Debt Mutual Fund Option Other Stock
BUYDEBT ×
BUYMF ×
BUYOPT ×
BUYOTHER ×
BUYSTOCK ×
CLOSUREOPT ×
INCOME × × × ×
INVEXPENSE × × × × ×
JRNLFUND
JRNLSEC × × × × ×
MARGININTEREST
REINVEST × × × ×
RETOFCAP × × × × ×
SELLDEBT ×
SELLMF ×
SELLOPT ×
SELLOTHER ×
SELLSTOCK ×
SPLIT × ×
TRANSFER × × × × ×
Since JRNLFUND and MARGININTEREST do not refer to securities, there are no checks in any of the
security columns for these transactions.
13.9.2.4.6 Notes on Mutual Fund Exchanges
In investment statement download, two transactions are needed to reflect mutual fund exchanges. A
SELLMF should be generated for the mutual fund being switched from and a BUYMF should be
generated for the mutual fund being switched to. You can use the RELFITID element to link these two
transactions to each other. You should use the MEMO element of the individual transactions to explain
that a mutual fund exchange occurred.
468 13.9 Investment Statement Download
13.9.2.4.7 Notes on Corporate Actions
Since corporate actions can often be very complicated, it is difficult to define a single action aggregate that
encompasses all possible scenarios. Instead, you should describe corporate actions using one or more of
the provided basic action types. You should use the memo field of the individual transactions to link
transactions to an encompassing corporate action.
13.9.2.4.8 Notes on Option Splits
When the underlying security for an option splits, a new security is generated for the option since the strike
price changes. In investment statement download, you need two transactions to reflect this activity. There
should be a TRANSFER transaction to show that the old option security is removed from the account and
another TRANSFER transaction to show that the new option security is moved into the account.
13.9.2.4.9 Notes on Option actions
For options, the overall sequence of actions is as follows:
For an option writer:
Position is opened with Sell to Open.
Position is closed with one of the following:
Buy to Close
Expire
Assigned
For an option buyer:
Position is opened with Buy to Open.
Position is closed with one of the following:
Sell to Close
Expire
Exercise
OFX 2.1.1 Specification 4695/1/06
13.9.2.5 Open Orders
13.9.2.5.1 General Open Order Aggregate <OO>
The <OO> aggregate contains fields common to all open orders. Use this aggregate to define the open
order aggregates as show in the following section.
Tag Description
<OO>
General-open-order aggregate
<FITID>
Unique FI-assigned transaction ID, FITID
<SRVRTID>
Unique server-assigned transaction ID, SRVRTID
<SECID>
Security identified aggregate
</SECID>
<DTPLACED>
Date-time the order was placed, datetime
<UNITS>
Quantity of the security the open order is for, quantity
<SUBACCT>
Sub-account type. CASH, MARGIN, SHORT, OTHER
<DURATION>
How long the order is good for: DAY, GOODTILCANCEL, IMMEDIATE
<RESTRICTION>
Special restriction on the order: ALLORNONE, MINUNITS, NONE
<MINUNITS>
Minimum number of units that must be filled for the order, quantity
<LIMITPRICE>
Limit price, unitprice
<STOPPRICE>
Stop price, unitprice
<MEMO>
Other information about order (at most one), memo
<CURRENCY>
Overriding currency aggregate
</CURRENCY>
<INV401KSOURCE>
For 401(k) accounts, source of money for this order. See section 13.9.2.4.2.
</OO>
Note: An open order is assumed to be a market order if no limit price or stop price is specified.
470 13.9 Investment Statement Download
13.9.2.5.2 Investment Open Order Aggregates
Open Order
Aggregates Elements Description of Elements
<OOBUYDEBT>
<OO> aggregate
<AUCTION>
<DTAUCTION>
Whether the debt should be purchased at the auction, Boolean
Date of the auction, date
<OOBUYMF>
<OO> aggregate
<BUYTYPE>
<UNITTYPE>
Type of purchase: BUY, BUYTOCOVER.
What the units represent: SHARES, CURRENCY
<OOBUYOPT>
<OO> aggregate
<OPTBUYTYPE> Type of purchase: BUYTOOPEN, BUYTOCLOSE
<OOBUYOTHER>
<OO> aggregate
<UNITTYPE> What the units represent: SHARES, CURRENCY
<OOBUYSTOCK>
<OO> aggregate
<BUYTYPE> Type of purchase: BUY, BUYTOCOVER
<OOSELLDEBT>
<OO> aggregate
<OOSELLMF>
<OO> aggregate
<SELLTYPE>
<UNITTYPE>
<SELLALL>
Type of sale: SELL, SELLSHORT
What the units represent: SHARES, CURRENCY.
Sell entire holding, Boolean
<OOSELLOPT>
<OO> aggregate
<OPTSELLTYPE> Type of sale: SELLTOOPEN, SELLTOCLOSE
<OOSELLOTHER>
<OO> aggregate
<UNITTYPE> What the units represent: SHARES, CURRENCY
<OOSELLSTOCK>
<OO> aggregate
<SELLTYPE> Type of sale: SELL, SELLSHORT
<SWITCHMF>
<OO> aggregate
<SECID> aggregate
<UNITTYPE>
<SWITCHALL>
Security ID of the mutual fund to switch to or purchase
What the units represent: SHARES, CURRENCY
Switch entire holding, Boolean
OFX 2.1.1 Specification 4715/1/06
13.9.2.6 Investment Positions
Position records represent a users current positions, regardless of the transactional history. Prices and
values should be the most recent available, even if different from a transaction price on the same day.
In position records, securities are identified as being either short or long. Because each FI has different
rules regarding which sub-accounts can be used for short compared to long activity, FIs must explicitly
indicate the type of position in addition to specifying the sub-account where the position takes place.
For options, position type SHORT is equivalent to WRITING an option, and position type LONG is
equivalent to HOLDING an option. For security types where there is only one type (for example, bonds),
use LONG.
For 401(k) accounts, securities can be purchased with any of the 401(k) cash sources. Any securities
purchased from more than one cash source will appear as a separate position for each.
472 13.9 Investment Statement Download
13.9.2.6.1 General Position Information <INVPOS>
The INVPOS aggregate contains fields relevant to all investment position types. It is included in the
position aggregates as shown in the following sections.
Tag Description
<INVPOS>
General-position aggregate
<SECID>
Security identifier
</SECID>
<HELDINACCT>
Sub-account type
CASH, MARGIN, SHORT, OTHER
<POSTYPE>
SHORT = Writer for options, Short for all others.
LONG = Holder for options, Long for all others.
<UNITS>
For stocks, MFs, other, number of shares held.
Bonds = face value.
Options = number of contracts
quantity
<UNITPRICE>
For stocks, MFs, other, price per share.
Bonds = percentage of par
Option = premium per share of underlying security
unitprice
<MKTVAL>
Market value of this position, amount
<DTPRICEASOF>
Date and time of unit price and market value. If this date is unknown, use 19900101
as the placeholder; do not use 0,
datetime
<CURRENCY>
Currency information if different from default currency.
</CURRENCY>
<MEMO>
Comment, memo
<INV401KSOURCE>
Source of money for this security in this position. See section 13.9.2.4.2.
</INVPOS>
OFX 2.1.1 Specification 4735/1/06
13.9.2.6.2 Investment Positions
Investment
Position
Aggregates
Elements Description of Elements
<POSDEBT>
<INVPOS> aggregate
<POSMF>
<INVPOS> aggregate
<UNITSSTREET>
<UNITSUSER>
<REINVDIV>
<REINVCG>
Units in the FI’s street name, positive quantity
Units in the users name directly, positive quantity
Reinvest dividends, Boolean
Reinvest capital gains, Boolean
<POSOPT>
<INVPOS> aggregate
<SECURED> How the option is secured. NAKED, COVERED.
<POSOTHER>
<INVPOS> aggregate
<POSSTOCK>
<INVPOS> aggregate
<UNITSSTREET>
<UNITSUSER>
<REINVDIV>
Units in the FI’s street name, positive quantity
Units in the users name directly, positive quantity
Reinvest dividends, Boolean
474 13.9 Investment Statement Download
13.9.2.7 Investment Balances <INVBAL>
The <INVBAL> aggregate contains five specified balances. It can also contain a <BALLIST> aggregate
that contains one or more <BAL> aggregates. The <BAL> aggregate (see Chapter 3, “Common
Aggregates, Elements, and Data Types”) allows an FI to send any number of balances to the user,
complete with description and Help text. The intent is to capture the same type of balance information
present on the first page of many FI brokerage statements. You can also use the <BAL> aggregate to send
margin call information.
Tag Description
<INVBAL>
Balances aggregate
<AVAILCASH>
Cash balance across all sub-accounts. Should include sweep funds. Amount
<MARGINBALANCE>
Margin balance. A positive balance indicates a positive cash balance, while a
negative balance indicates the customer has borrowed funds. Amount
<SHORTBALANCE>
Market value of all short positions. This is a positive balance, Amount
<BUYPOWER>
Buying power, amount
<BALLIST>
Beginning of Investment balance list (at most one)
<BAL>
Balance aggregates (0 or more)
</BAL>
See Chapter 3, "Common Aggregates, Elements, and Data Types"
</BALLIST>
</INVBAL>
OFX 2.1.1 Specification 4755/1/06
13.9.2.8 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
12250 Investment transaction download not supported (WARN)
12251 Investment position download not supported (WARN)
12252 Investment positions for specified date not available (WARN)
12253 Investment open order download not supported (WARN)
12254 Investment balances download not supported (WARN)
476 13.9 Investment Statement Download
13.9.2.9 401(k) Balances <INV401KBAL>
The <INV401KBAL> aggregate contains an optional cash balance. It also contains the balances of the
standard 401(k) sub-accounts. The date of these balances is taken from the <DTASOF> element of the
<INVSTMTRS>aggregate.
Tag Description
<INV401KBAL> Beginning of 401(k) balances list (at most one)
<CASHBAL> Cash balance available for the 401(k) account
<PRETAX> Current value of all securities purchased with Before Tax Employee
contributions, amount
<AFTERTAX> Current value of all securities purchased with After Tax Employee contributions,
amount
<MATCH> Current value of all securities purchased with Employer Match contributions,
amount
<PROFITSHARING> Current value of all securities purchased with Employer Profit Sharing
contributions, amount
<ROLLOVER> Current value of all securities purchased with Rollover contributions, amount
<OTHERVEST> Current value of all securities purchased with Other (vesting) Employer
contributions, amount
<OTHERNONVEST> Current value of all securities purchased with Other (non-vesting) Employer
contributions, amount
<TOTAL> Current value of all securities purchased with all contributions, amount
<BALLIST> Beginning of generic balance list (at most one)
<BAL> Balance aggregates (zero or more), see Chapter 3, "Common Aggregates,
Elements, and Data Types"
</BAL>
</BALLIST>
</INV401KBAL>
OFX 2.1.1 Specification 4775/1/06
13.9.2.10 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
12250 Investment transaction download not supported (WARN)
12251 Investment position download not supported (WARN)
12252 Investment positions for specified date not available (WARN)
12253 Investment open order download not supported (WARN)
12254 Investment balances download not supported (WARN)
12255 401(k) information requested from a non-401(k) account (ERROR)
13.9.3 401(k) Account Information
The following is included in the investment statement response for 401(k) accounts to provide a summary
of the users 401(k) plan information. Note that some of this information may not be available at the server
and may be omitted.
Tag Description
<INV401K>
401(k) Summary aggregate
<EMPLOYERNAME>
Name of the employer, A-32
<PLANID>
Plan number, A-32
<PLANJOINDATE>
Date the employee joined the plan, date
<EMPLOYERCONTACTINFO>
Name of contact person at employer, plus any available contact
information, such as phone number, A-255
<BROKERCONTACTINFO>
Name of contact person at broker, plus any available contact
information, such as phone number, A-255
478 13.9 Investment Statement Download
<DEFERPCTPRETAX>
Percent of employee salary deferred before tax, rate
<DEFERPCTAFTERTAX>
Percent of employee salary deferred after tax, rate
<MATCHINFO>
Aggregate containing employer match information. Absent if
employer does not contribute matching funds.
<MATCHPCT>
Percent of employee contribution matched, e.g., 75% if
contribution rate is $0.75/$1.00, rate
<MAXMATCHAMT>
Maximum employer contribution amount in any year, amount.
<MAXMATCHPCT>
Current maximum employer contribution percentage. Maximum
match in a year is MAXMATCHPCT up to the
MAXMATCHAMT, if provided.
rate
<STARTOFYEAR>
Specifies when the employer contribution max is reset. Some
plans have a maximum based on the company fiscal year rather
than calendar year. Assume calendar year if omitted. Only the
month and day (MMDD) are used; year (YYYY) and time are
ignored.
date
<BASEMATCHAMT>
Specifies a fixed dollar amount contributed by the employer if
the employee participates in the plan at all. This may be present
in addition to the <MATCHPCT>. $0 if omitted.
amount
<BASEMATCHPCT>
Specifies a fixed percent of employee salary matched if the
employee participates in the plan at all. This may be present in
addition to the MATCHPCT>. 0% if omitted. Base match in a
year is BASEMATCHPCT up to the BASEMATCHAMT,if
provided.
rate
</MATCHINFO>
<CONTRIBINFO>
Aggregate to describe how new contributions are distributed
among the available securities.
<CONTRIBSECURITY>
Identifies current contribution allocation for a security (1 or
more)
<SECID>
Security identifier. See section 13.8.1.
</SECID>
Current contribution allocation. Specify either
<xxxPCT> or <xxxAMT>. The new
contributions to each security are either all
specified by a percentage of contributions or
by a fixed dollar amount, but not both. At least
one source must be provided.
Tag Description
OFX 2.1.1 Specification 4795/1/06
<PRETAXCONTRIBPCT>
-or-
<PRETAXCONTRIBAMT>
Percentage of each new employee pretax contribution allocated
to this security, rate.
Fixed amount of each new employee pretax contribution
allocated to this security, amount
<AFTERTAXCONTRIBPCT>
-or-
<AFTERTAXCONTRIBAMT>
Percentage of each new employee after tax contribution
allocated to this security, rate.
Fixed amount of each new employee pretax contribution
allocated to this security, amount.
<MATCHCONTRIBPCT>
-or-
<MATCHCONTRIBAMT>
Percentage of each new employer match contribution allocated
to this security, rate.
Fixed amount of each new employer match contribution
allocated to this security, amount.
<PROFITSHARINGCONTRIBP
CT>
-or-
<PROFITSHARINGCONTRIBA
MT>
Percentage of each new employer profit sharing contribution
allocated to this security, rate.
Fixed amount of each new employer profit sharing contribution
allocated to this security, amount.
<ROLLOVERCONTRIBPCT>
-or-
<ROLLOVERCONTRIBAMT>
Percentage of new rollover contributions allocated to this
security, rate.
Fixed amount of new rollover contributions allocated to this
security, amount.
<OTHERVESTPCT>
-or-
<OTHERVESTAMT>
Percentage of each new other employer contribution allocated to
this security, rate.
Fixed amount of each new other employer contribution allocated
to this security, amount.
<OTHERNONVESTPCT>
-or-
<OTHERNONVESTAMT>
Percentage of each new other employee contribution allocated to
this security,
rate.
Fixed amount of each new other employee contribution
allocated to this security, amount
</CONTRIBSECURITY>
</CONTRIBINFO>
<CURRENTVESTPCT>
Estimated percentage of employer contributions vested as of the
current date. If omitted, assume 100%, rate.
<VESTINFO>
Vest change dates. Provides the vesting percentage as of any
particular past, current, or future date. 0 or more.
<VESTDATE>
Date at which vesting percentage changes. Default is that the
vested percentage applies to the current date. date
<VESTPCT>
Estimated vested percentage as of the corresponding date. rate
Tag Description
480 13.9 Investment Statement Download
</VESTINFO>
<LOANINFO>
List of loans outstanding against this account. 0 or more.
<LOANID>
Identifier of this loan, A-32
<LOANDESC>
Loan description, A-32
<INITIALLOANBAL>
Initial loan balance. amount
<LOANSTARTDATE>
Start date of loan. date
<CURRENTLOANBAL>
Current loan principal balance. amount
<DTASOF>
Date and time of the current loan balance. datetime
<LOANRATE>
Loan annual interest rate. rate
<LOANPMTAMT>
Loan payment amount. amount
<LOANPMTFREQ>
Frequency of loan repayments: WEEKLY, BIWEEKLY,
TWICEMONTHLY, MONTHLY, FOURWEEKS,
BIMONTHLY, QUARTERLY, SEMIANNUALLY,
ANNUALLY, OTHER. See section
10.2.1 for calculation rules.
<LOANPMTSINITIAL>
Initial number of loan payments.
<LOANPMTSREMAINING>
Remaining number of loan payments. N-5
<LOANMATURITYDATE>
Expected loan end date. date
<LOANTOTALPROJINTEREST>
Total projected interest to be paid on this loan. amount
<LOANINTERESTTODATE>
Total interested paid to date on this loan. amount
<LOANNEXTPMTDATE>
Next payment due date. date
</LOANINFO>
<INV401KSUMMARY>
List of contributions to 401(k) account.
<YEARTODATE>
Contributions to date for this calendar year.
<DTSTART>
Start date for this calendar year. date
<DTEND>
End date for this year-to-date information. date
<CONTRIBUTIONS>
401 (k) contribution aggregate (at most one) (See section
13.9.3.1)
</CONTRIBUTIONS>
Tag Description
OFX 2.1.1 Specification 4815/1/06
<WITHDRAWALS>
401(k) withdrawals aggregate (at most one) (See section
13.9.3.2)
</WITHDRAWALS>
<EARNINGS>
401(k) earnings aggregate (at most one) (See section 13.9.3.3)
</EARNINGS>
</YEARTODATE>
<INCEPTODATE>
Total contributions to date (since inception)
<DTSTART>
Start date for the inception of this account. date
<DTEND>
End date for the inception-to-date information. date
<CONTRIBUTIONS>
401(k) contribution aggregate (at most one) (See section
13.9.3.1)
</CONTRIBUTIONS>
<WITHDRAWALS>
401(k) withdrawals aggregate (at most one) (See section
13.9.3.2)
</WITHDRAWALS>
<EARNINGS>
401(k) earnings aggregate (at most one) (See section 13.9.3.3)
</EARNINGS>
</INCEPTODATE>
<PERIODTODATE>
<DTSTART>
Start date for the current period. date
<DTEND>
End date for the period-to-date information. date
<CONTRIBUTIONS>
401(k) contribution aggregate (at most one) (See section
13.9.3.1)
</CONTRIBUTIONS>
<WITHDRAWALS>
401(k) withdrawals aggregate (at most one) (See section
13.9.3.2)
</WITHDRAWALS>
<EARNINGS>
401(k) earnings aggregate (at most one) (See section 13.9.3.3)
</EARNINGS>
</PERIODTODATE>
</INV401KSUMMARY>
</INV401K>
Tag Description
482 13.9 Investment Statement Download
13.9.3.1 401(k) Contribution Aggregate <CONTRIBUTIONS>
The following table shows the new 401(k) contribution aggregate and its tags.
Tag Description
<CONTRIBUTIONS>
401(k) contribution aggregate. Note: this includes loan payments.
<PRETAX>
Pretax contribution. amount
<AFTERTAX>
After tax contribution. amount
<MATCH>
Employer matching contribution. amount
<PROFITSHARING>
Profit sharing contribution. amount
<ROLLOVER>
Rollover contribution. amount
<OTHERVEST>
Other vesting contributions. amount
<OTHERNONVEST>
Other non-vesting contributions. amount
<TOTAL>
Sum of contributions from all fund sources. amount
</CONTRIBUTIONS>
OFX 2.1.1 Specification 4835/1/06
13.9.3.2 401(k) Withdrawals Aggregate <WITHDRAWALS>
Tag Description
<WITHDRAWALS>
401(k) withdrawals aggregate. Note: this includes loan withdrawals.
<PRETAX>
Pretax withdrawals. amount
<AFTERTAX>
After tax withdrawals. amount
<MATCH>
Employer matching withdrawals. amount
<PROFITSHARING>
Profit sharing withdrawals. amount
<ROLLOVER>
Rollover withdrawals. amount
<OTHERVEST>
Other vesting withdrawals. amount
<OTHERNONVEST>
Other non-vesting withdrawals. amount
<TOTAL>
Sum of withdrawals from all fund sources. amount
</WITHDRAWALS>
13.9.3.3 401(k) Earnings Aggregate <EARNINGS>
Tag Description
<EARNINGS>
401(k) earnings aggregate. This is the market value change. It includes dividends/
interest, and capital gains - realized and unrealized.
<PRETAX>
Pretax earnings. amount
<AFTERTAX>
After tax earnings. amount
<MATCH>
Employer matching earnings. amount
<PROFITSHARING>
Profit sharing earnings. amount
<ROLLOVER>
Rollover earnings. amount
<OTHERVEST>
Other vesting earnings. amount
<OTHERNONVEST>
Other non-vesting earnings. amount
<TOTAL>
Sum of earnings from all fund sources. amount
</EARNINGS>
484 13.10 Investment Statement Closing Information
13.10 Investment Statement Closing Information
OFX provides a way for customers to receive closing statement information that typically appears as part
of a paper statement. Image download information can be requested in an investment closing request by
including <INCSTMTIMG>Y, which requests that the server return image data corresponding to closing
statements, if available. The image identification data returned in the <INVCLOSING> aggregate will not
be the actual image, but will be used to access the image through subsequent client sessions. See Chapter
15, “Image Download”, for more information on retrieving images from the server.
13.10.1 Request <INVSTMTENDRQ>
The <INVSTMTENDRQ> request must appear within an <INVSTMTENDTRNRQ> transaction wrapper.
Tag Description
<INVSTMTENDRQ>
Closing-statement-request aggregate
<INVACCTFROM>
Investment-account-from aggregate
</INVACCTFROM>
<DTSTART>
Start date for statement closing information, datetime
<DTEND>
End date of statement closing information, datetime
<INCSTMTIMG>
Include data for closing statement images, Boolean
</INVSTMTENDRQ>
13.10.2 Response <INVSTMTENDRS>
The <INVSTMTENDRS> response must appear within a <INVSTMTENDTRNRS> transaction wrapper.
Tag Description
<INVSTMTENDRS>
Closing-statement-response aggregate
<CURDEF>
Default currency used for closing information, currsymbol
<INVACCTFROM>
Account from aggregate
</INVACCTFROM>
<INVCLOSING>
Statement information (0 or more), see section 13.10.3
</INVCLOSING>
</INVSTMTENDRS>
OFX 2.1.1 Specification 4855/1/06
13.10.2.1 Status Codes
Code Meaning
0 Success
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
13.10.3 Investment Statement <INVCLOSING>
The <INVCLOSING> aggregate provides image information for client retrieval of investment statement
images. The <FITID> provides a way for the client to distinguish one closng statement from another.
Tag Description
<INVCLOSING>
Closing-statement-response aggregate
<FITID>
Unique identifier for this statement, FITID
<IMAGEDATA>
Image data aggregate, see section 3.1.6.1
</IMAGEDATA>
</INVCLOSING>
486 13.11 Investment E-Mail
13.11 Investment E-Mail
OFX currently defines one investment e-mail message that clients can send to an FI. With this message, the
user can prepare a message to the FI regarding one of their accounts. The server acknowledges receipt of
the message. The FI prepares the response that the client picks up when it synchronizes with the server. E-
mail is subject to synchronization, using <INVMAILSYNCRQ> / <INVMAILSYNCRS>.
Client Sends Server Responds
Addressed message
Inv. account information
Acknowledgment
.
.
.
Synchronization request
Response to customer
13.11.1 Investment E-Mail Request and Response
13.11.1.1 Request <INVMAILRQ>
The client must identify to which investment account the customer query is related.
Tag Description
<INVMAILRQ>
Investment-e-mail-request aggregate
<INVACCTFROM>
Account-from aggregate, see 13.6.1
</INVACCTFROM>
<MAIL>
To, from, message information, see section 9.2.2
</MAIL>
</INVMAILRQ>
OFX 2.1.1 Specification 4875/1/06
13.11.1.2 Response <INVMAILRS>
Tag Description
<INVMAILRS>
Investment-e-mail-response aggregate
<INVACCTFROM>
Account-from aggregate, see 13.6.1
</INVACCTFROM>
<MAIL>
To, from, message information, see section 9.2.2
</MAIL>
</INVMAILRS>
13.11.1.3 Status Codes
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2019 Duplicate request (ERROR)
6502 Unable to process embedded transaction due
to out-of-date <TOKEN> (ERROR)
15508 Transaction not authorized (ERROR)
16500 HTML not allowed (ERROR)
16501 Unknown mail To: (ERROR)
488 13.11 Investment E-Mail
13.11.2 Investment E-Mail Synchronization
13.11.2.1 Request <INVMAILSYNCRQ>
Tag Description
<INVMAILSYNCRQ>
Synchronization-request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of
synchronization request from server; 0 for first-time requests;
token
<TOKENONLY>
Request for just the current <TOKEN> without the history,
Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date,
Boolean
<INCIMAGES>
Y if the client accepts mail with images in the message body. N
if the client does not accept mail with images in the message
body.
Boolean
<USEHTML>
Y if client wants an HTML response, N if client wants plain
text, Boolean
<INVACCTFROM>
Investment account of interest; token must be interpreted in
terms of this account, see 13.6.1
</INVACCTFROM>
<INVMAILTRNRQ>
Investment-mail transactions (0 or more)
</INVMAILTRNRQ>
</INVMAILSYNCRQ>
OFX 2.1.1 Specification 4895/1/06
13.11.2.2 Response <INVMAILSYNCRS>
Tag Description
<INVMAILSYNCRS>
Synchronization-response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest
entry in the servers history table. In this case, some responses have
been lost.
N if the token in the synchronization request is newer than or matches a
token in the servers history table. Boolean
<INVACCTFROM>
Investment account of interest; token must be interpreted in terms of
this account, see
13.6.1
</INVACCTFROM>
<INVMAILTRNRS>
Investment-mail transactions (0 or more)
</INVMAILTRNRS>
</INVMAILSYNCRS>
490 13.12 Complete Example
13.12 Complete Example
This example is for a user who requests an investment statement download for a single account.
The request file:
<OFX> <!--Beginning of request data-->
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ> <!--End of signon-->
</SIGNONMSGSRQV1>
<INVSTMTMSGSRQV1>
<INVSTMTTRNRQ> <!--First request in file-->
<TRNUID>1001</TRNUID> <!--Unique ID for this request-->
<INVSTMTRQ> <!--Beginning of statement download-->
<INVACCTFROM> <!--Identify the account: -->
<BROKERID>121099999</BROKERID><!--FI ID-->
<ACCTID>999988</ACCTID><!--Account number-->
</INVACCTFROM> <!--End of account ID-->
<INCTRAN> <!--Request transactions-->
<DTSTART>20050824130105</DTSTART><!--Send transactions posted
after-->
<!--Aug 24, 2005 1:01:05pm-->
<INCLUDE>Y</INCLUDE> <!--Include transactions -->
</INCTRAN>
<INCOO>Y</INCOO> <!--Include open orders in response-->
<INCPOS> <!--Request positions -->
<INCLUDE>Y</INCLUDE> <!--Include current positions -->
</INCPOS>
<INCBAL>Y</INCBAL> <!--Include balances in request-->
</INVSTMTRQ>
</INVSTMTTRNRQ> <!--End of first request-->
</INVSTMTMSGSRQV1>
</OFX> <!--End of OFX request data-->
OFX 2.1.1 Specification 4915/1/06
A typical server response:
This user has one investment transaction, one bank transaction, one open order, two position entries, and
one balance entry. The user deposits some money and buys shares in Acme. The user has an open limit
order to buy 100 shares of Hackson Unlimited at $50/share. The holdings show the user already had 100
shares of Acme and now has 200 shares. The user also has one option contract to sell Lucky Airlines
shares, bought before this download.
<OFX> <!--Beginning of request data-->
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS> <!--End of signon-->
</SIGNONMSGSRSV1>
<INVSTMTMSGSRSV1>
<INVSTMTTRNRS> <!--First request in file-->
<TRNUID>1001</TRNUID> <!--Client ID for this request-->
<STATUS>
<CODE>0</CODE> <!--0 = accepted, good data follows-->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<INVSTMTRS> <!--Beginning of statement download-->
<DTASOF>20050827010000</DTASOF> <!--Statement as of Aug 27, 2005
1am-->
<CURDEF>USD</CURDEF> <!--Default currency is US Dollar-->
<INVACCTFROM> <!--Beginning of account information-->
<BROKERID>121099999</BROKERID><!--FI ID-->
<ACCTID>999988</ACCTID><!--Account number-->
</INVACCTFROM> <!--End of account information-->
<INVTRANLIST> <!--Beginning of transactions-->
<DTSTART>20050824130105</DTSTART><!--Send transactions posted
after-->
<!--Aug 24, 2005 1:01:05pm-->
<DTEND>20050828101000</DTEND><!--End timestamp (now) -->
<BUYSTOCK> <!--Buy stock transaction-->
<INVBUY>
<INVTRAN>
<FITID>23321</FITID><!--FI transaction ID-->
<DTTRADE>20050825</DTTRADE><!--Trade date Aug 25,
2005-->
<DTSETTLE>20050828</DTSETTLE><!--Settlement date Aug
28, 2005-->
</INVTRAN>
492 13.12 Complete Example
<SECID> <!--Security ID-->
<UNIQUEID>123456789</UNIQUEID><!--CUSIP for ACME -->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<UNITS>100</UNITS><!--100 shares-->
<UNITPRICE>50.00</UNITPRICE><!--$50/share-->
<COMMISSION>25.00</COMMISSION><!--$25 commission -->
<TOTAL>-5025.00</TOTAL><!--Total amount $5025.00-->
<SUBACCTSEC>CASH</SUBACCTSEC><!--Holding resides in cash
account-->
<SUBACCTFUND>CASH</SUBACCTFUND><!--Bought in cash
account-->
</INVBUY>
<BUYTYPE>BUY</BUYTYPE><!--Normal buy-->
</BUYSTOCK> <!--End of buy stock transaction-->
<INVBANKTRAN> <!--Investment acct bank transaction-->
<STMTTRN> <!--Beginning of a bank transaction-->
<TRNTYPE>CREDIT</TRNTYPE><!--Generic credit-->
<DTPOSTED>20050825</DTPOSTED><!--Aug 25, 2005-->
<DTUSER>20050825</DTUSER><!--Aug 25, 2005-->
<TRNAMT>1000.00</TRNAMT><!--$1,000.00-->
<FITID>12345</FITID><!--FI transaction ID 12345-->
<NAME>Customer deposit</NAME><!--Description of
transaction-->
<MEMO>Your check #1034</MEMO><!--Optional memo from FI-->
</STMTTRN> <!--End of bank transaction-->
<SUBACCTFUND>CASH</SUBACCTFUND><!--Credited to the cash
account -->
</INVBANKTRAN>
</INVTRANLIST> <!--End of transactions-->
<INVPOSLIST> <!--Beginning of positions list-->
<POSSTOCK> <!--Beginning of position -->
<INVPOS>
<SECID> <!--Security ID-->
<UNIQUEID>123456789</UNIQUEID><!--CUSIP for Acme
Development,
Inc.-->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<HELDINACCT>CASH</HELDINACCT><!--Cash account-->
<POSTYPE>LONG</POSTYPE><!--Long position-->
<UNITS>200</UNITS><!--200 shares-->
<UNITPRICE>49.50</UNITPRICE><!--Latest price-->
OFX 2.1.1 Specification 4935/1/06
<MKTVAL>9900.00</MKTVAL><!--Current market value
$9900.00-->
<DTPRICEASOF>20050827010000</DTPRICEASOF> <!--Prices as
of Aug27,2005
1am-->
<MEMO>Next dividend payable Sept 1</MEMO>
</INVPOS>
</POSSTOCK> <!--End of position-->
<POSOPT> <!--Beginning of position-->
<INVPOS>
<SECID> <!--Security ID-->
<UNIQUEID>000342222</UNIQUEID><!--CUSIP for the option
-->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<HELDINACCT>CASH</HELDINACCT><!--Cash account-->
<POSTYPE>LONG</POSTYPE><!--Long position-->
<UNITS>1</UNITS> <!--100 shares-->
<UNITPRICE>5</UNITPRICE><!--Latest price-->
<MKTVAL>500</MKTVAL><!--Current market value $500.00-->
<DTPRICEASOF>20050827010000</DTPRICEASOF> <!--Prices as
of Aug27,2005 1am-->
<MEMO> Option is in the money</MEMO>
</INVPOS>
</POSOPT> <!--End of option position -->
</INVPOSLIST> <!--End of position -->
<INVBAL>
<AVAILCASH>200.00</AVAILCASH><!--$200.00 cash balance-->
<MARGINBALANCE>-50.00</MARGINBALANCE><!--$50.00 owed on margin
balance-->
<SHORTBALANCE>0</SHORTBALANCE><!--$0 short balance-->
<BALLIST> <!--Beginning of FI-defined balances-->
<BAL> <!--Beginning of a balance-->
<NAME>Margin Interest Rate</NAME> <!--Name of balance
entry-->
<DESC>Current interest rate on margin balances</DESC>
<!--Help text for this balance-->
<BALTYPE>PERCENT</BALTYPE><!--Format as percent-->
<VALUE>7.85</VALUE><!--Will be formatted 7.85%-->
<DTASOF>20050827010000</DTASOF> <!--Rate as of Aug 27,
2005 1am-->
</BAL> <!--End of balance entry-->
</BALLIST> <!--End of balances-->
494 13.12 Complete Example
</INVBAL>
<INVOOLIST>
<OOBUYSTOCK>
<OO>
<FITID>23321</FITID><!--FI transaction ID-->
<SECID> <!--Security ID-->
<UNIQUEID>666678578</UNIQUEID><!--CUSIP for Hackson
Unlimited-->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<DTPLACED>20050624031505</DTPLACED> <!--Order placed 6/
24/96 3:15:05pm-->
<UNITS>100</UNITS><!--100 shares-->
<SUBACCT>CASH</SUBACCT><!--Purchase with cash-->
<DURATION>GOODTILCANCEL</DURATION><!--GOODTILCANCEL-->
<RESTRICTION>NONE</RESTRICTION><!--No special
restrictions-->
<LIMITPRICE>50.00</LIMITPRICE><!--Limit price $50/share-->
</OO>
<BUYTYPE>BUY</BUYTYPE><!--Normal buy-->
</OOBUYSTOCK>
</INVOOLIST>
</INVSTMTRS>
</INVSTMTTRNRS> <!--End of first response-->
</INVSTMTMSGSRSV1>
<SECLISTMSGSRSV1>
<SECLIST> <!--Beginning of securities list-->
<STOCKINFO> <!--Beginning of 1st security ID-->
<SECINFO>
<SECID> <!--Security ID-->
<UNIQUEID>123456789</UNIQUEID><!--CUSIP for the stock -->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<SECNAME>Acme Development, Inc.</SECNAME>
<TICKER>ACME</TICKER> <!--Ticker symbol-->
<FIID>1024</FIID> <!--FI internal security identifier-->
</SECINFO>
<YIELD>10</YIELD> <!--10% yield-->
<ASSETCLASS>SMALLSTOCK</ASSETCLASS><!--Small Capital Stock asset
class-->
</STOCKINFO> <!--End of security ID-->
<STOCKINFO>
<SECINFO>
OFX 2.1.1 Specification 4955/1/06
<SECID> <!--Security ID-->
<UNIQUEID>666678578</UNIQUEID><!--CUSIP for the stock -->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<SECNAME>Hackson Unlimited, Inc.</SECNAME>
<TICKER>HACK</TICKER> <!--Ticker symbol-->
<FIID>1027</FIID> <!--FI internal security identifier-->
</SECINFO>
<YIELD>17</YIELD> <!--17% yield-->
<ASSETCLASS>SMALLSTOCK</ASSETCLASS><!--Small Capital Stock asset
class-->
</STOCKINFO>
<OPTINFO> <!--End of security ID-->
<SECINFO>
<SECID> <!--Security ID-->
<UNIQUEID>000342222</UNIQUEID><!--CUSIP for the option -->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<SECNAME>Lucky Airlines Jan 97 Put</SECNAME>
<TICKER>LUAXX</TICKER> <!--Ticker symbol-->
<FIID>0013</FIID> <!--FI internal security identifier-->
</SECINFO>
<OPTTYPE>PUT</OPTTYPE>
<STRIKEPRICE>35.00</STRIKEPRICE><!--Strike price $35/share-->
<DTEXPIRE>20050121</DTEXPIRE><!--Option expires Jan 21, 2005-->
<SHPERCTRCT>100</SHPERCTRCT> <!--100 shares per contract-->
<SECID> <!--Security ID-->
<UNIQUEID>000342200</UNIQUEID><!--CUSIP for the underlying
stock -->
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<ASSETCLASS>LARGESTOCK</ASSETCLASS><!--Large Capital Stock asset
class-->
</OPTINFO> <!--End of option information-->
</SECLIST> <!--End of securities list-->
</SECLISTMSGSRSV1>
</OFX> <!--End of OFX request data-->
13.13 Complete 401(k) Example
This example is for a user who requests a 401(k) investment statement download for a single account.
496 13.13 Complete 401(k) Example
The request file:
<OFX> <!--Beginning of request data-->
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ> <!--End of signon-->
</SIGNONMSGSRQV1>
<INVSTMTMSGSRQV1>
<INVSTMTTRNRQ> <!--First request in file-->
<TRNUID>1002</TRNUID> <!--Unique ID for this request-->
<INVSTMTRQ> <!--Beginning of statement download-->
<INVACCTFROM> <!--Identify the account: -->
<BROKERID>121099999</BROKERID><!--FI ID-->
<ACCTID>999988</ACCTID><!--Account number-->
</INVACCTFROM> <!--End of account ID-->
<INCTRAN> <!--Request transactions-->
<DTSTART>20060101120000</DTSTART><!--Send transactions posted
after Jan 1, 2007 12pm-->
<INCLUDE>Y</INCLUDE> <!--Include transactions -->
</INCTRAN>
<INCPOS> <!--Request positions -->
<INCLUDE>Y</INCLUDE> <!--Include current positions -->
</INCPOS>
<INC401K>Y</INC401K> <!--Include 401(k) account info -->
<INC401KBAL>Y</INC401KBAL><!--Include 401(k) balances -->
</INVSTMTRQ>
</INVSTMTTRNRQ> <!--End of first request-->
</INVSTMTMSGSRQV1>
</OFX> <!--End of OFX request data-->
OFX 2.1.1 Specification 4975/1/06
A typical server response:
This user is paying back a loan from the 401(k) account and then contributing pretax dollars. A transaction
is shown paying principal to Rollover and another paying interest to Rollover. Following that is a pretax
contribution transaction. This is then followed by the list of the 401(k) balances and finally the 401(k)
account information including a year-to-date summary.
<OFX> <!--Beginning of request data-->
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS> <!--End of signon-->
</SIGNONMSGSRSV1>
<INVSTMTMSGSRSV1>
<INVSTMTTRNRS> <!--First request in file-->
<TRNUID>1002</TRNUID><!--Client ID for this request-->
<STATUS>
<CODE>0</CODE> <!--0 = accepted, good data follows-->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<INVSTMTRS> <!--Beginning of statement download-->
<DTASOF>>20060131172605.000[-4:EST]</DTASOF> <!--Statement as
of Jan 31, 2006 5:26pm-->
<CURDEF>USD</CURDEF><!--Default currency is US Dollar-->
<INVACCTFROM><!--Beginning of account information-->
<BROKERID>121099999</BROKERID><!--FI ID-->
<ACCTID>999988</ACCTID><!--Account number-->
</INVACCTFROM><!--End of account information-->
<INVTRANLIST>
<DTSTART>20060105172532.000[-5:EST]</DTSTART>
<DTEND>20060131172532.000[-4:EST]</DTEND>
<BUYMF>
<INVBUY>
<INVTRAN>
<FITID>212839062820295310723</FITID>
<DTTRADE>20060119000000.000[-5:EST]</DTTRADE>
</INVTRAN>
<SECID>
<UNIQUEID>744316100</UNIQUEID>
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<UNITS>14.6860</UNITS>
498 13.13 Complete 401(k) Example
<UNITPRICE>18.9000</UNITPRICE>
<TOTAL>-277.5700</TOTAL>
<CURRENCY>
<CURRATE>1.0000</CURRATE>
<CURSYM>USD</CURSYM>
</CURRENCY>
<SUBACCTSEC>OTHER</SUBACCTSEC>
<SUBACCTFUND>OTHER</SUBACCTFUND>
<LOANID>2</LOANID>
<LOANPRINCIPAL>277.5700</LOANPRINCIPAL>
<LOANINTEREST>0.0000</LOANINTEREST>
<INV401KSOURCE>ROLLOVER</INV401KSOURCE>
<DTPAYROLL>20060114000000.000[-5:EST]</DTPAYROLL>
<PRIORYEARCONTRIB>N</PRIORYEARCONTRIB>
</INVBUY>
<BUYTYPE>BUY
</BUYMF>
<BUYMF>
<INVBUY>
<INVTRAN>
<FITID>212839062820510822977</FITID>
<DTTRADE>20060119000000.000[-5:EST]</DTTRADE>
</INVTRAN>
<SECID>
<UNIQUEID>744316100</UNIQUEID>
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<UNITS>2.0220</UNITS>
<UNITPRICE>18.9000</UNITPRICE>
<TOTAL>-38.2200</TOTAL>
<CURRENCY>
<CURRATE>1.0000</CURRATE>
<CURSYM>USD</CURSYM>
</CURRENCY>
<SUBACCTSEC>OTHER</SUBACCTSEC>
<SUBACCTFUND>OTHER</SUBACCTFUND>
<LOANID>2</LOANID>
<LOANPRINCIPAL>0.0000</LOANPRINCIPAL>
<LOANINTEREST>38.2200</LOANINTEREST>
<INV401KSOURCE>ROLLOVER</INV401KSOURCE>
<DTPAYROLL>20060114000000.000[-5:EST]</DTPAYROLL>
<PRIORYEARCONTRIB>N</PRIORYEARCONTRIB>
OFX 2.1.1 Specification 4995/1/06
</INVBUY>
<BUYTYPE>BUY
</BUYMF>
<BUYMF>
<INVBUY>
<INVTRAN>
<FITID>212849815151950488609</FITID>
<DTTRADE>20060106000000.000[-5:EST]</DTTRADE>
</INVTRAN>
<SECID>
<UNIQUEID>744316100</UNIQUEID>
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<UNITS>4.9010</UNITS>
<UNITPRICE>18.7900</UNITPRICE>
<TOTAL>-92.0900</TOTAL>
<CURRENCY>
<CURRATE>1.0000</CURRATE>
<CURSYM>USD</CURSYM>
</CURRENCY>
<SUBACCTSEC>OTHER</SUBACCTSEC>
<SUBACCTFUND>OTHER</SUBACCTFUND>
<INV401KSOURCE>PRETAX</INV401KSOURCE>
<DTPAYROLL>20051231000000.000[-5:EST]</DTPAYROLL>
<PRIORYEARCONTRIB>Y</PRIORYEARCONTRIB>
</INVBUY>
<BUYTYPE>BUY</BUYTYPE>
</BUYMF>
</INVTRANLIST>
<INV401KBAL>
<PRETAX>31690.340000</PRETAX>
<PROFITSHARING>10725.640000</PROFITSHARING>
<ROLLOVER>15945.750000</ROLLOVER>
<OTHERVEST>108.800000</OTHERVEST>
<TOTAL>58470.530000</TOTAL>
</INV401KBAL>
<INV401K>
<EMPLOYERNAME>ELGIN NATIONAL INDUSTRIES INC</EMPLOYERNAME>
<PLANID>4343</PLANID>
<PLANJOINDATE>19940101000000.000[-5:EST]</PLANJOINDATE>
<MATCHINFO>
<MATCHPCT>0.00</MATCHPCT>
500 13.13 Complete 401(k) Example
</MATCHINFO>
<CONTRIBINFO>
<CONTRIBSECURITY>
<SECID>
<UNIQUEID>744316100</UNIQUEID>
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<PRETAXCONTRIBPCT>50.0000</PRETAXCONTRIBPCT>
<PROFITSHARINGCONTRIBPCT>100.0000
</PROFITSHARINGCONTRIBPCT>
<ROLLOVERCONTRIBPCT>100.0000</ROLLOVERCONTRIBPCT>
<OTHERVESTPCT>100.0000</OTHERVESTPCT>
</CONTRIBSECURITY>
<CONTRIBSECURITY>
<SECID>
<UNIQUEID>74431M105</UNIQUEID>
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<PRETAXCONTRIBPCT>25.0000</PRETAXCONTRIBPCT>
<PROFITSHARINGCONTRIBPCT>0.0000
</PROFITSHARINGCONTRIBPCT>
<ROLLOVERCONTRIBPCT>0.0000</ROLLOVERCONTRIBPCT>
<OTHERVESTPCT>0.0000</OTHERVESTPCT>
</CONTRIBSECURITY>
<CONTRIBSECURITY>
<SECID>
<UNIQUEID>743969107</UNIQUEID>
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE>
</SECID>
<PRETAXCONTRIBPCT>25.0000</PRETAXCONTRIBPCT>
<PROFITSHARINGCONTRIBPCT>0.0000
</PROFITSHARINGCONTRIBPCT>
<ROLLOVERCONTRIBPCT>0.0000</ROLLOVERCONTRIBPCT>
<OTHERVESTPCT>0.0000</OTHERVESTPCT>
</CONTRIBSECURITY>
</CONTRIBINFO>
<INV401KSUMMARY>
<YEARTODATE>
<DTSTART>20060101000000</DTSTART>
<DTEND>20060131000000</DTEND>
<CONTRIBUTIONS>
<PRETAX>843.2500</PRETAX>
<AFTERTAX>43.4200</AFTERTAX>
OFX 2.1.1 Specification 5015/1/06
<MATCH>421.6200</MATCH>
<TOTAL>1308.2900</TOTAL>
</CONTRIBUTIONS>
</INV401KSUMMARY>
</INV401K>
</INVSTMTRS>
</INVSTMTTRNRS>
</INVSTMTMSGSRSV1>
</OFX>
502 13.13 Complete 401(k) Example
OFX 2.1.1 Specification 5035/1/06
CHAPTER 14 BILL PRESENTMENT
14.1 Overview
Bill Presentment (PRES) is the electronic delivery of a bill from a biller to a customer.
Although some billers may provide Bill Presentment service themselves, many will choose to work with a
bill publisher that provides Bill Presentment service on behalf of many billers. For this reason, Bill
Presentment focuses on connecting customers to bill publishers.
14.1.1 Bill Presentment Model
This section summarizes the process of receiving bills electronically, starting with the steps required to
find a bill publisher and set up Bill Presentment service.
To receive bills electronically, the client:
Finds one or more billers by searching a biller directory server.
Determines which bill publishers provide Bill Presentment service for the billers.
Enrolls with a bill publisher for Bill Presentment service
Signs on with the bill publisher and activates Bill Presentment service for one or more accounts with
one or more billers.
Requests electronic bills from the bill publisher.
(Optionally) Pays bills using the OFX Bill Payment service.
14.1.2 Servers and Message Sets
During the billing process, the client typically communicates with two OFX servers:
Biller directory server: An independent server that stores information about billers and bill publishers.
Clients can query this server to find the bill publishers that serve the billers in which the customer is
interested.
Bill publisher server: The server that delivers bills to customers. A single bill publisher can provide Bill
Presentment service for many billers. In some cases, a biller might act as its own bill publisher.
504 14.2 Biller Directory
Although it is possible for a single server to perform both of the functions listed above, it is more likely
that independent directory servers will provide clients with a single source for finding billers. To allow
these functions to be routed separately by clients, Bill Presentment defines separate message sets for
directory query and bill delivery.
Biller Directory message set <PRESDIRMSGSETV1>
Bill Delivery message set <PRESDLVMSGSETV1>
For additional information about the message sets defined for Bill Presentment, see section 14.7.
14.2 Biller Directory
To find billers, the client sends a <FINDBILLERRQ> request to the biller directory server. The biller
directory server returns a <FINDBILLERRS> response.
<FINDBILLERRQ> and <FINDBILLERRS> are part of the Biller Directory message set
<PRESDIRMSGSETV1>. The message set tags are <PRESDIRMSGSRQV1> and
<PRESDIRMSGSRSV1>.
14.2.1 Client Signon to the Biller Directory Server
Because the client does not enroll with the biller directory server and the directory does not contain private
data, the client may perform an anonymous signon (as described in section 2.5.1) when requesting this
service. Unlike the FI Profile message set (see Chapter 7, especially section 7.1.4), this message set does
not currently support customer-specific directories. The response should be identical whether or not the
request arrived with an anonymous <SONRQ>. Compliant servers must support both request forms. For
more information about signon requests, refer to
Chapter 2, "Structure."
14.2.2 Search Arguments
If the client omits all elements in the <FINDBILLERRQ>, the client is requesting a complete directory of
billers. Otherwise, the client wants to filter results based on the included elements. For each biller that
matches the elements in the request, the biller directory server returns the complete name and address of
the biller, plus the biller ID and bill publisher name. Servers can return information using case-insensitive
matching, but this is not required.
14.2.3 Identification of Bill Publishers
Bill Publishers must be uniquely and consistently identified by name. Clients need some way to relate the
bill publisher name given by a directory server to their own databases of known and approved bill
publishers. Since the number of bill publishers is relatively small, and the number of directory servers that
must be coordinated even smaller, the official corporate name of a bill publisher will serve as an ID for that
publisher.
OFX 2.1.1 Specification 5055/1/06
14.2.4 Find Biller Request <FINDBILLERRQ>
The <FINDBILLERRQ> request must appear within a <FINDBILLERTRNRQ> transaction wrapper.
The Biller directory timestamp in the <FINDBILLERRQ> (<DTUPDATE>) selection criterion allows the
client to request all directory entries that have been added or changed since a point in time. Clients that
want to receive an updated list of billers and bill publishers can use <DTUPDATE> to avoid receiving a
response if nothing has changed. <DTUPDATE> is returned by servers in responses to indicate the date
and time of the newest or most recently changed entry, whether or not it was included in the response.
Clients performing narrow searches cannot use <DTUPDATE> unless they save the value for each query,
and send the corresponding value in future requests. Servers can return information using case-insensitive
matching, but this is not required.
506 14.2 Biller Directory
The name and address fields refer to the biller, except for <CONSUPOSTALCODE> which refers to the
customers address.
Tag Description
<FINDBILLERRQ>
<DTUPDATE>
Date and time of last change to any biller entry as reported by the server on
previous query, datetime.
If present, <FINDBILLERRS> will include only Billers whose information has
changed or been added since this time.
<BILLERID>
ID of this biller at this bill publisher, A-32
<NAME>
Billers name, A-32
<ADDR1>
Billers address line 1, A-32
<ADDR2>
Billers address line 2, A-32
<ADDR3>
Billers address line 3, A-32
<CITY>
Billers city, A-32
<STATE>
Billers state, A-5
<POSTALCODE>
Billers postal code, A-11
<COUNTRY>
ISO/DIS-3166 3-letter country code standard, A-3
<SIC>
Standard Industry Code, N-6
<CONSUPOSTALCODE>
Postal code of customer, to allow server to filter out billers that do not do
business in the customers area, A-11
<INCIMAGES>
Y if the client wants images (logos) returned, Boolean
</FINDBILLERRQ>
Note: Future versions of OFX will require <ADDR1> if <ADDR2> is specified and
<ADDR2> if <ADDR3> is specified.
OFX 2.1.1 Specification 5075/1/06
14.2.5 Find Biller Response <FINDBILLERRS>
<FINDBILLERRS> must appear within a <FINDBILLERTRNRS> transaction wrapper.
The response is a list of <BILLERINFO> aggregates.
Tag Description
<FINDBILLERRS>
<DTUPDATE>
Date and time of last addition or modification to the entries in the directory, whether
part of this response or not, datetime
<BILLERINFO>
Zero or more <BILLERINFO> aggregates
</BILLERINFO>
</FINDBILLERRS>
14.2.5.1 Biller Information <BILLERINFO>
<BILLERINFO> includes information about a single biller.
Besides basic name and address information, <BILLERINFO> includes the <BILLPUB> and
<BILLERID> elements. These elements will be used with the customers account number to identify the
customers account with the biller. For more information about the account-identification aggregates, refer
to <PRESACCTFROM> and <PRESACCTTO> in section
14.3.2.2.
<BILLERINFO> can optionally include elements that specify the format of valid account numbers.
<ACCTFORMAT> and <ACCTEDITMASK> provide information to the client. <HELPMESSAGE>
provides a text message that the client can display to the customer.
To avoid the complications caused by invalid account numbers, <BILLERINFO> can also include a
<VALIDATE>URL element that the client application can use to validate the customers account number.
See section
14.2.7 for more detail on this.
Tag Description
<BILLERINFO>
<BILLPUB>
Official standard name of the bill publisher, A-32
<BILLERID>
ID of this biller at this bill publisher, A-32
<NAME>
Name of the biller, A-32
<ADDR1>
Billers address line 1, A-32
<ADDR2>
Billers address line 2, A-32
<ADDR3>
Billers address line 3, A-32
508 14.2 Biller Directory
Note: Future versions of OFX will require <ADDR1> if <ADDR2> is specified and
<ADDR2> if <ADDR3> is specified.
<CITY>
Billers city, A-32
<STATE>
Billers state, A-5
<POSTALCODE>
Billers postal code, A-11
<COUNTRY>
Billers country; 3-letter country code from ISO/DIS-3166, A-3
<SIC>
Standard Industrial Classification Code, N-6
<PHONE>
Billers phone number for customer information (if a special number exists
for electronic billing information, use that number), A-32
<PAYMENTINSTRUMENTS>
Types of payment that the biller can accept electronically, see section
14.2.8.1
</PAYMENTINSTRUMENTS>
<ACCTFORMAT>
Regular expression describing the account number format. For example,
^[0-9]{8,10}$ means the account number must be numbers only, and the
length must be 8 to 10 numbers.
A-255
<ACCTEDITMASK>
An alternative string describing the account number format. See below for
details. The client can use the edit mask to assist the user in entering the
account number.
A-255
<HELPMESSAGE>
Human-readable message that the client can display to assist the customer
in entering his or her account number. For example: “Enter in the last 10
digits of your account number without any spaces or dashes.” This is
defined by the biller during the implementation phase.
A-255
<RESTRICT>
Human-readable description of any restrictions on who may sign up with
this biller. For example: “Please be sure to enter each account number
separately if you have more than one account with us. Your mail bill will
be turned off only after another paper billing cycle has passed. Please note
that this program is initially available for account numbers beginning with
X Y and Z only.” This is defined by the biller during the implementation
phase.
A-255
<LOGO>
URL of the billers logo. If the client requested images, the logo should be
included via multipart MIME in this response. URL
<VALIDATE>
URL for validation. The client application may use this to validate the
customers account number, see section 14.2.7. URL
<BILLERINFOURL>
URL of human-readable description of additional information the biller
would like the customer to have with regard to signing up. URL
</BILLERINFO>
Tag Description
OFX 2.1.1 Specification 5095/1/06
While <ACCTFORMAT> uses Unix-style regular expressions to describe the account number format,
<ACCTEDITMASK> provides a simpler, alternative method. It uses two special characters. The character
@ matches one letter, upper or lowercase. The character # matches one number. All other characters match
themselves (letters are case insensitive).
Usage examples:
The following represents a 16-digit account number:
################
A 16-digit account number, separated by hyphens into 4-digit chunks. First four characters must be 4128:
4128-####-####-####
4 letters, a hyphen, a number, a hyphen, 5 numbers:
@@@@-#-#####
10-digit account number that must begin with 153AG, and whose final 5 characters are numbers:
153AG#####
14.2.6 Status Codes <FINDBILLERRS>
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
510 14.2 Biller Directory
14.2.7 Account Number Validation
Servers should implement a lightweight CGI (or equivalent) to validate account numbers. The URL
provided in the <VALIDATE> can be accessed with an HTTP GET with three arguments: BILLERID,
ACCOUNTNUMBER and CUSTOMERPOSTALCODE. The URL should respond with a text file that
includes the following values:
1. Status: (Mandatory)
Error: An error condition (wrong number of parameters, Database error, etc.). Clarifying text may
accompany the error status.
Passed: The account number is in an acceptable form for this biller (this is not a guarantee that the
account will be accepted for the service).
Failed: The account number does not correspond to an acceptable account number for this biller.
Clarifying text may accompany the failed status.
2. Account: (Optional) The preferred format or version of the account number presented in the request.
Heading: (Optional) Additional text to help explain problems to end-users.
Example:
<VALIDATE> = http://testit.com/validate.cgi
Client application uses HTTP GET with “http://testit.com/validate.cgi?billerid=5454&accountnumber=123-456-
7890&customerpostalcode=12345”
The server would respond with one of these:
1. Error
Content-type: text/plain
<STATUS>error
<HEADING>The server is unable to process your request at this time. Please resubmit.
2. Failure
Content-type: text/plain
<STATUS>failed
<HEADING>123-456-7890 does not appear to be a valid account number
3. Passed
Content-type: text/plain
<STATUS>passed
<ACCOUNT>1234567890
OFX 2.1.1 Specification 5115/1/06
14.2.8 Biller Payment Restrictions
In the <PAYMENTINSTRUMENTS> aggregate of <BILLERINFO> aggregate (see section 14.2.5.1), the
biller specifies the type of payment instruments it can accept for electronic payment. Since electronic
payment does not have to occur through the OFX Bill Payment message set, the payment instruments can
include some that OFX doesn’t support—for example, CyberCash.
In some cases, a biller may have arranged for a certain party to act as its payment concentrator. This means
that the biller expects to receive good funds and remit advice in a pre-arranged format from these
concentrators. Such a biller will want to have customers direct their payments to the payment concentrator.
The <PAYMENTINSTRUMENTS> aggregate supports the specification of a payment concentrator from
which the biller wants to receive funds. However, OFX currently does not provide a way for clients to get
information about payment concentrators. Knowledge of payment concentrators will have to be
“hardwired” into client applications. For example, the client application may know that a certain payment
concentrator, BigConcentrator, is capable of receiving DigiCash funds. A biller who has BigConcentrator
as its payment concentrator can then accept DigiCash funds from the customer without having to support
the DigiCash protocol and infrastructure directly. The application would direct the DigiCash funds to the
concentrator, who would in turn transfer funds and remit advice to the biller using the agreed-upon
method.
14.2.8.1 Payment Instruments <PAYMENTINSTRUMENTS>
In the <PAYMENTINSTRUMENTS> aggregate, billers list which payment instruments they accept.
Tag Description
<PAYMENTINSTRUMENTS>
Opening tag for payment instruments
<PAYMENTINSTRUMENT>
One or more payment instrument aggregates, see section 14.2.8.2
</PAYMENTINSTRUMENT>
</PAYMENTINSTRUMENTS>
Closing tag for payment instruments
512 14.3 Customer Signup
14.2.8.2 Payment Type and Brand <PAYMENTINSTRUMENT>
Each payment instrument is described by <PMTINSTRUMENTTYPE> and <BRAND>. If the server does
not specify <BRAND>, the client assumes that all brands of the given <PMTINSTRUMENTTYPE> are
acceptable.
Tag Description
<PAYMENTINSTRUMENT>
Opening tag for payment instrument aggregate
<PMTINSTRUMENTTYPE>
Payment type, see section 14.2.8.3
<BRAND>
Accepted brand for given payment type, A-32
</PAYMENTINSTRUMENT>
Closing tag for payment instrument aggregate
14.2.8.3 Payment Instrument Types <PMTINSTRUMENTTYPE>
Type Description
CONCENTRATOR Organization that has a business agreement with the biller to send the biller funds
and remittance advice.
CHECKINGACCOUNT Draft on a demand deposit account (US)
CREDITCARD Payment by Auth/Settle using Credit Card networks
ECOIN Protocol for payment with electronic cash
If the <BILLERINFO> does not list <PAYMENTINSTRUMENTS>, the following single
<PAYMENTINSTRUMENT> is implied:
<PAYMENTINSTRUMENT>
<PMTINSTRUMENTTYPE>CHECKINGACCOUNT</PMTINSTRUMENTTYPE>
</PAYMENTINSTRUMENT>
14.3 Customer Signup
Once the customer has located a biller and its associated bill publisher, the customer must enroll with the
bill publisher for Bill Presentment service and activate accounts for one or more billers at that bill
publisher.
Bill Presentment uses the standard OFX Signup message set. This section discusses only those portions of
signup that differ for Bill Presentment. For more information about the Signup message set, refer to
Chapter 8, "Activation & Account Information."
OFX 2.1.1 Specification 5135/1/06
14.3.1 Enrollment
To enroll with a bill publisher, the client uses the standard OFX enrollment aggregate <ENROLLRQ>. The
bill publisher server returns an <ENROLLRS> that provides status about the enrollment and optionally
returns a user ID and password to be used during subsequent signons.
14.3.2 Account Inquiry
To receive account information from a bill publisher, the client can use the standard OFX
<ACCTINFORQ> aggregate, contained in the <ACCTINFOTRNRQ> wrapper.
The <ACCTINFORS> response returns a <PRESACCTINFO> aggregate for each of the customers
accounts with the billers at that bill publisher. Typically, the response will list only those accounts that have
been activated for Bill Presentment service, not all available accounts.
Unlike a financial institution, bill publishers generally won’t have information about all the accounts of its
supported billers. Billers that also serve as their own bill publishers may be able return available accounts
as well as activated accounts. The bill publisher can use the <AVAILACCTS> element in the profile for the
Signup message set to indicate whether the server can return available account information.
If the server cannot return information about all available accounts, the client must ask customers for
account information prior to requesting service activation for one or more accounts.
514 14.3 Customer Signup
14.3.2.1 Bill Presentment Account Information <PRESACCTINFO>
The <PRESACCTINFO> aggregate appears within the <ACCTINFORS> aggregate.
Tag Description
<PRESACCTINFO>
Opening tag for bill presentment account information
<PRESACCTFROM>
Bill presentment account identification, see section 14.3.2.2
</PRESACCTFROM>
<SVCSTATUS>
Status of the Bill Presentment service for this account– AVAIL, PEND, ACTIVE,
or REJECTED
<REASON>
Relevant only if <SVCSTATUS>REJECTED is specified, A-255
</PRESACCTINFO>
Closing tag for bill presentment account information
14.3.2.2 Account Identification <PRESACCTFROM> <PRESACCTTO>
The <PRESACCTFROM> aggregate uniquely identifies a customer’s account with a biller by the
combination of bill publisher, biller ID, and account number. Biller IDs must be unique within a bill
publisher.
Clients can optionally include a <USERID> in <PRESACCTFROM/TO> that is different from the one
used in the <SONRQ>. This <USERID> supports account activation by a third party on behalf of a user.
Based on access rights granted to the <SONRQ>, it is up to the server whether to honor such a request.
More than one <SVCADD> can be present in a a single <OFX> request file on behalf of multiple
<USERID>s.
The <USERID> element is disallowed for single-customer OFX request files. When sent by or returned to
a client proxy (or, other group context), any <PRESACCTFROM/TO> aggregates must include the
USERID element. A client proxy would include (and receive) this element when initiating an OFX
session. But, customer-specific clients initiating a session with the same server would never use or see this
information.
Note: <USERID> is not intended to identify individual users of joint accounts. If a transaction
might include two different USERIDs within otherwise identical <PRESACCTFROM>
aggregates, servers should deliver two separate bills (download the same bill twice in
<PRESLISTRS>), allow either to update the bill status (in <PRESNOTIFYRQ> or
<BILLSTATUSMODRQ>), or deliver two separate <PRESACCTINFO> aggregates in
<PRESGRPACCTINFOTRNRS>. It is up to the server to keep track of activity on joint
accounts.
The Bill Publisher would not normally know the <PAYEEID> and <PAYEELSTID> (or their <SPNAME>
context) information relevant to a particular client or user. But, after setting up (or changing) Biller as a
payee with some Payment provider, a client may execute a <SVCCHG> <ACCTRQ> request that updates
the corresponding <PRESACCTFROM> at the Bill Publisher. This request could pass payment identifiers
OFX 2.1.1 Specification 5155/1/06
to the Bill Publisher. Since this information does not make the <PRESACCTFROM> more unique, clients
may omit <SPNAME>, <PAYEEID> and <PAYEELSTID> when using <PRESACCTFROM> outside an
<ACCTRQ> request. Servers should return this information in all contexts. After a client has supplied
payee information, servers must not make server-initiated changes to the information unless the given (or
implied) <SPNAME> is controlled by the same provider. Such servers may include (and update) payment
identifiers from their Payment provider prior to the client including them in an <ACCTRQ> request.
Tag Description
<PRESACCTFROM>
<BILLPUB>
Official standard name of bill publisher, A-32
<BILLERID>
ID of this biller at this bill publisher, A-32
<BILLERNAME>
Name of the biller; matches <NAME> element in <BILLERINFO>. See
section 14.2.5.1, This element may be used only in cases where
<PRESACCTFROM> is sent by the server (for example, in
<PRESBILLINFO> or <PRESACCTINFO>), A-32
<ACCTID>
Account number, A-22
<PRESNAMEADDRESS>
Customers name/address with the biller, see section 14.3.2.2.1
</PRESNAMEADDRESS>
<USERID>
Customers user ID, A-32
<SPNAME>
Service provider name. Used to scope the <PAYEEID> and /or
<PAYEELSTID> (if provided) to a particular Payment service. Allowed only
when <PAYEEID> or <PAYEELSTID> appear in <PRESACCTFROM>.
A-32
Note: <SPNAME> must be supplied with <PAYEELSTID> unless Bill
Publisher also provides a payment service.
<PAYEEID>
Payee identifier. Identifies this Biller at the user's Payment provider. When sent
in account activation, it is intended for storage on the Bill Presentment
database, such that it can be returned in subsequent inquiries utilizing this
aggregate. Used by clients to facilitate accurate Payee add or change requests
when the Bill Presentment service (possibly, due to a prior client <ACCTRQ>
request) knows the Payee ID at a Payment provider. The client may use this
identifier to match the Biller as known by the Bill Presentment service to a
Payee as known by the Payment provider.See section
14.5. SRVRTID
<PAYEELSTID>
Payee list identifier. Identifies this Biller on the user's payee list at their
Payment provider. When sent in account activation, it is intended for storage on
the Bill Presentment database, such that it can be returned in subsequent
inquiries utilizing this aggregate. Used by clients to facilitate accurate Payee
add or change requests when the Bill Presentment service (possibly, due to a
prior client <ACCTRQ> request) knows the Payee List ID at a Payment
provider. The client may use this identifier to match the Biller as known by the
Bill Presentment service to a Payee as known by the Payment provider. See
section
14.5. SRVRTID
</PRESACCTFROM>
516 14.3 Customer Signup
<PRESACCTTO> follows the same structure as <PRESACCTFROM>.
14.3.2.2.1 Customer Information with the biller <PRESNAMEADDRESS>
Tag Description
<PRESNAMEADDRESS>
Customer name and address information
<NAMEACCTHELD>
Customers name as it appears on the account, A-96
<BUSNAMEACCTHELD>
Optional “Does Business As” name associated with this account, A-96
<ADDR1>
Customers address line 1, A-32
<ADDR2>
Customers address line 2, A-32
<ADDR3>
Customers address line 3, A-32
<CITY>
Customers city, A-32
<STATE>
Customers state, A-5
<POSTALCODE>
Customers postal code, A-11
<COUNTRY>
Customers country; 3-letter country code from ISO/DIS-3166, A-3
<DAYPHONE>
Customers telephone number, A-32
<EVEPHONE>
Customers telephone number, A-32
</PRESNAMEADDRESS>
Note: Future versions of OFX will require <ADDR1> if <ADDR2> is specified and
<ADDR2> if <ADDR3> is specified.
14.3.3 Service Activation
Bill Presentment uses the standard service activation messages defined in Chapter 8, "Activation &
Account Information."
The account service request aggregate <ACCTRQ> accepts action-specific aggregates for service
additions, changes, and deletions. To add Bill Presentment service to an account, the client sends an
<ACCTRQ> with an <SVCADD> for the service <SVC>PRESSVC.
14.3.3.1 Service Addition <SVCADD>
When requesting service activation using <SVCADD>, <PRESACCTTO> is used to specify the
customers account with a specific biller. <PRESACCTTO> includes the optional
<PRESNAMEADDRESS> aggregate to identify the customers name and address as it is registered at the
biller. In most cases however, the address specified in the <ENROLLRQ> or most recent
<CHGUSERINFORQ> is used to provide the <PRESNAMEADDRESS> when activating an account.
Clients need only include <PRESNAMEADDRESS> if a special billing address is specified for the
OFX 2.1.1 Specification 5175/1/06
customer at the given biller. For example, some billers and service providers may require exact matches for
remittance addresses. The users enrollment data may specify the same location described in the billers
database, but not provide an exact match. In that case, <PRESNAMEADDRESS> may be required for
successful service activation.
In cases where <PRESACCTTO> is forwarded to other servers but enrollment information was used rather
than a client-provided <PRESNAMEADDRESS> aggregate, the <PRESNAMEADDRESS> information
is neither stored at the server nor returned to the originating client with the <PRESACCTTO> aggregate.
That is, clients which do not include the <PRESNAMEADDRESS> aggregate in their requests should
never see it in a later response from the server.
14.3.3.2 Service Change <SVCCHG>
The servers profile indicates support for storing <PRESNAMEADDRESS> information by including
<CANUPDATEPRESNAMEADDRESS>Y. In this case, <SVCCHG> requests may be used to update or
delete the <PRESNAMEADDRESS> information stored by the server. <CHGUSERINFORQ> requests
have no effect upon this information. Furthermore, no server-initiated transactions change the stored
address data. Servers must always return <PRESNAMEADDRESS> data exactly as the client sent it. The
presentment server may however forward a customers change of address entered via <SVCCHG> to the
proper biller.
For servers that support storing <PRESNAMEADDRESS>, the <PRESNAMEADDRESS> data can also
be used to support users who receive bills at multiple locations.
If a servers profile includes <CANUPDATEPRESNAMEADDRESS>N, the <PRESNAMEADDRESS>
should not be included in any <SVCCHG> requests. <PRESNAMEADDRESS> data is used only for the
initial activation in this case.
518 14.3 Customer Signup
14.3.4 Service Status Update for Groups of Customers
The service activation requested with <SVCADD> will often not happen immediately. In this case, a
request for account information <ACCTINFORQ> will return an <ACCTINFORS> with a
<SVCSTATUS>PEND. To find out whether the account has been activated, the client can either send
<ACCTINFORQ> once per session until it returns <SVCSTATUS>ACTIVE, or it can include an
<ACCTSYNCRQ> in each session to catch an unsolicited <ACCTRS> response to the <SVCADD>
message.
This section describes a method of checking for status changes on behalf of a group of customers within
the Bill Presentation service. This method is designed to be used by customer service representatives and
client proxy systems. This method applies only where <SVC> is PRESSVC. To check status for a single
customer, use the standard signup messages. For more information, see
Chapter 8, "Activation & Account
Information."
14.3.4.1 Account Information Request <ACCTINFORQ>
The client uses <ACCTINFORQ> to request information about accounts whose status has changed since
the last time the request was made. This request is typically used to retrieve a list of accounts whose status
has changed from <SVCSTATUS>PEND to <SVCSTATUS>ACTIVE.
For use in the Bill Presentation message set, the <ACCTINFORQ> request must appear within a
<PRESGRPACCTINFOTRNRQ> transaction wrapper. This transaction wrapper includes the identifier for
the requested group. The <ACCTINFORQ> request may also appear in the <ACCTINFOTRNRQ>
wrapper described in
Chapter 8, "Activation & Account Information."
Tag Description
<ACCTINFORQ>
Opening tag for billing account information request
<DTACCTUP>
Last <DTACCTUP> received in a response, datetime
<SVC>
Zero or more. Services to be included in <ACCTINFORS>. If absent, all supported
services are being requested.
BANKSVC = Banking service
BPSVC = Payment service
INVSVC = Investments
PRESSVC = Bill Presentment service
Note: If used in this message set, the value must be PRESSVC.
</ACCTINFORQ>
Closing tag for billing account information request
OFX 2.1.1 Specification 5195/1/06
14.3.4.2 Account Information Response <ACCTINFORS>
The <ACCTINFORS> aggregate contains zero or more <ACCTINFO> aggregates, which provide the
updated account information.
For use in this message set, the <ACCTINFORS> response must appear within a
<PRESGRPACCTINFOTRNRS> transaction wrapper.
Tag Description
<ACCTINFORS>
Opening tag for billing account information response
<DTACCTUP>
Date and time of last update to account information on the server, datetime
<ACCTINFO>
Zero or more account information aggregates, see section 8.5.3. Each
<ACCTINFO> aggregate contains at most one <PRESACCTINFO> aggregate,
consistent with section 8.5.3.
Left out of the response when no <SVC>PRESSVC accounts for the specified
<USERID> or <GROUPID> or current user are found.
Note: When <DTACCTUP> indicates the client is up-to-date, server should not
return surrounding <ACCTINFORS>.
</ACCTINFO>
</ACCTINFORS>
Closing tag for billing account information response
14.3.4.3 Group Account Information Transaction Request
<PRESGRPACCTINFOTRNRQ>
As a special transaction wrapper for <ACCTINFORQ>, <PRESGRPACCTINFOTRNRQ> specifies
whether the client is requesting account information for a single user or a group of users.
If the client specifies <GROUPID>, the client is requesting updated account information for a group of
users. The server returns an <ACCTINFORS> response with a <PRESACCTINFO> aggregate for each
account whose status has changed.
Standard signup messages are the preferred method for checking the status of a single customer, however
<PRESGRPACCTINFOTRNRQ> may also be used for a single customer. (Standard signup messages are
described in
Chapter 8, "Activation & Account Information." )
520 14.3 Customer Signup
The client should specify either <USERID> or <GROUPID>; if both are absent, the server uses the
<USERID> from the signon request <SONRQ>.
Tag Description
<PRESGRPACCTINFOTRNRQ>
Opening tag for the transaction request
<TRNUID>
Client-assigned globally unique ID for this transaction, trnuid
<CLTCOOKIE>
Data to be echoed in the transaction response, A-32
<TAN>
Specify either <USERID> or
<GROUPID>
Transaction authorization number, A-80
<USERID>
Requests account information for the specified user, A-32
- or -
<GROUPID>
Requests account information for users in the group, A-32
<ACCTINFORQ>
Account information request aggregate, (See section 8.5.1).
</ACCTINFORQ>
</PRESGRPACCTINFOTRNRQ>
Closing tag for the transaction request
14.3.4.4 Group Account Information Transaction Response
<PRESGRPACCTINFOTRNRS>
As a special transaction wrapper for <ACCTINFORS>, <PRESGRPACCTINFOTRNRS> contains an
<ACCTINFORS> aggregate with zero or more <PRESACCTINFO> aggregates. The <ACCTINFORS>
aggregate returns one <PRESACCTINFO> aggregate for each account for which there was a change of
status since the <DTACCTUP> date specified. <ACCTINFORS> should not be sent when the client is up-
to-date.
Note: Not sending a response aggregate in this case is an exception to rules outlined in
sections
2.4.6 and 3.1.5. And, sending a partial response (not every <ACCTINFO> aggregate
for the user or group, just changed information) differs from the normal processing of
<ACCTINFORQ> (see section
8.5). Within the Signup message set, the <ACCTINFORS>
contains all account information if any portion is out of date.
The server includes information for only those USERIDs for which the requester has access rights.
Note: <USERID> is not intended to identify individual users of joint accounts. If a transaction
might include two different USERIDs within otherwise identical <PRESACCTFROM>
aggregates, servers should deliver two separate copies of the account information (download
almost the same account information twice). It is up to the server to keep track of activity on
joint accounts. This may occur if, for example, joint account holders are associated with the
same <GROUPID>,
Tag Description
<PRESGRPACCTINFOTRNRS>
Opening tag for the transaction response
<TRNUID>
Client-assigned globally unique ID for this transaction, trnuid
<STATUS>
</STATUS>
<CLTCOOKIE>
Data to be echoed in the transaction response, A-32
<ACCTINFORS>
Account information response aggregate. See section 8.5.2.
</ACCTINFORS>
</PRESGRPACCTINFOTRNRS>
Closing tag for the transaction response
OFX 2.1.1 Specification 5215/1/06
14.3.4.5 Status Codes <PRESGRPACCTINFORS>
Code Meaning
0 Success (INFO)
1 The client is up-to-date
2000 General error (ERROR)
2002 General account error (ERROR)
2006 Account not found (ERROR)
2008 Account not authorized (ERROR)
15508 Transaction not authorized (ERROR)
522 14.4 Bill Delivery
14.4 Bill Delivery
The Bill Delivery message set contains messages to obtain bills. The message set
<PRESDLVMSGSETV1> contains the following aggregates: <PRESDLVMSGSRQV1> and
<PRESDLVMSGSRSV1>.
14.4.1 Bill Delivery Process
Typically, the client periodically requests a list of bills from the bill publisher. The bill publisher responds
with a list of bills, each of which contains summary data such as the due date and amount due. For each
bill, the bill publisher might also return a URL to a Web site that contains an HTML-rendered version of
the bill. Depending on the client’s request, the server might also return structured bill detail for a given bill.
The aggregate for a bill list request is <PRESLISTRQ>. This request must be wrapped inside
<PRESLISTTRNRQ>. There is no synchronization wrapper for bill list requests, since clients that require
a list of bills can send another <PRESLISTRQ>.
The transaction wrapper <PRESLISTTRNRQ> contains optional elements that allow bills for one or more
customers to be accessed by customer service representatives or client proxy systems. It is up to the server
to decide who can access bills other than their own; it is recommended that all such access be logged in an
audit trail.
14.4.2 Bill List Retrieval
<PRESLISTRQ> retrieves bills from the bill publisher. The bill publisher returns a <PRESLISTRS>
response that contains a list of one or more bills.
14.4.2.1 Bill List Request <PRESLISTRQ>
The client requests bills from a bill publisher by date range. To specify the date range, clients use
<DTSTART> and <DTEND>, as described in section
3.2.7. The date range includes all bills that were
added or modified within the date range.
The bill publisher returns information sufficient to identify the biller and provide the amount due, due date,
and remittance information so that a payment can be made to the biller. The bill publisher does not provide
a viewable form of the bill, but returns a URL to an HTML rendering of the bill. Billing detail, such as
individual purchases or transactions, can be included in the original response or obtained from a
subsequent <PRESDETAILRQ>.
OFX 2.1.1 Specification 5235/1/06
The <PRESLISTRQ> must be wrapped in the <PRESLISTTRNRQ> transaction wrapper.
Tag Description
<PRESLISTRQ>
Opening tag for bill list request
<BILLPUB>
Official standard name of bill publisher, A-32
<DTSTART>
If present, indicates earliest date for which to include bills, datetime
<DTEND>
If present, indicates latest date for which to include bills, datetime
<DTDUEBY>
If present, indicates that the customer is requesting bills due on or before the
date/time specified in <DTDUEBY>. datetime
<BILLERID>
Biller Identifier, If present, restricts the response to the given Biller, A-32
<BILLID>
If present, restrict response to given statement identifier, A-32
<BILLTYPE>
0 or more. If present, indicates which types of bills the customer is
requesting. Possible values are:
BILL = Invoice of an amount due to the biller that is payable.
STATEMENT = History of activity on an account with the biller that is not
payable.
NOTICE = Generic letter from either the biller or the bill publisher that is
not payable.
<BILLSTATUSCODE>
0 or more. If present indicates which bill statuses the customer is requesting.
Possible values are:
NEW = The server has not sent the bill to either the client or client proxy.
This is the initial status code of a bill.
DELIVERED = The server has sent the bill to either a client or client proxy.
VIEWED = The customer has seen the bill. Implies previous status of
DELIVERED.
RETIRED = The customer no longer wishes to see this bill. Implies
previous status of DELIVERED.
WITHDRAWN = The biller or publisher no longer wishes this bill to be
displayed.
UNDELIVERABLE = Attempts to deliver this bill to the consumer in a
timely fashion have failed. This status is not generally used when presenting
a bill to a consumer. However, notifications using this status cover many
useful cases.
524 14.4 Bill Delivery
<BILLPMTSTATUSCODE>
0 or more. Bill payment status code. If present, indicates the customer is
requesting bills matching the bill payment status code. Possible values are:
NONE = There is neither a payment scheduled, nor has one been made
against this bill. This may be the initial payment status of a bill.
SCHEDULED = A payment has been scheduled, but not yet processed
against this bill.
PROCESSED = The payment has been processed against this bill, and can
no longer be cancelled.
POSTED = The biller has posted the payment against this bill.
PAIDOUTOFBAND = A Payment has been initiated for this bill via a
mechanism that does not report status via OFX. This status is intended to
indicate the customer has paid the biller directly with cash or a check or has
initiated an electronic payment through a mechanism that does not report
payment status through OFX.
AUTOPAY = The Biller or Service Provider will initiate the payment based
on a pre-authorization by the customer, typically a “good until cancelled”
instruction with no defined end date. In the US this is often implemented
using a recurring pre-authorized ACH debit, though some Billers offer pre-
authorized automatic payment through credit card. Examples include
monthly deductions to cover a mortgage, regular payments from a checking
account to a credit card, and the Automatic Payment Service (APS) offered
by many utilities. Like NONE, this may be the initial payment status of the
bill.
CANCELLED = The customer cancelled the payment that was previously
scheduled.
UNPAYABLE = None of the Payment Instruments allowed for this bill are
supported by the Payment Provider. This is intended to be used where the
bill restricts payment to a subset of the Payment Instruments allowed in the
Biller Directory entry. This could occur if the Payment Provider or the
Biller changed their supported payment instrument types after enrollment
and account activation.
<NOTIFYWILLING>
Flag indicating that client is prepared to send notifications of bill delivery, if
desired (see section 14.4.5), Boolean
<INCLUDEDETAIL>
Flag indicating bill detail should be included too, Boolean
<INCLUDEBILLSTATUS>
Flag indicating bill status should be included too, Boolean
Default is N.
<INCLUDEBILLPMTSTATUS>
Flag indicating bill payment status should be included, Boolean
Default is N.
<INCLUDESTATUSHIST>
Flag indicating bill status history and/or bill payment status history should
be included too. Only valid if <INCLUDEBILLSTATUS>Y and/or
<INCLUDEBILLPMTSTATUS>Y are specified.
Boolean
Default is N.
Tag Description
OFX 2.1.1 Specification 5255/1/06
<INCLUDECOUNTS>
If Y, indicates that the response should include <PRESCOUNTS> and not
<PRESBILLINFO>, Boolean
May not be Y if <INCLUDESUMMARY>Y, <INCLUDEDETAIL>Y,
<INCLUDEBILLSTATUS>Y, <INCLUDEBILLPMTSTATUS>Y, or
<INCLUDESTATUSHIST>Y are specified.
Default is N.
<INCLUDESUMMARY>
Include bill summaries (<PRESBILLINFO>), Boolean.
May not be N if <INCLUDEDETAIL>Y, <INCLUDEBILLSTATUS>Y,
<INCLUDEBILLPMTSTATUS>Y, <INCLUDESTATUSHIST>Y, or
<INCLUDECOUNTS>N are specified.
Unlike other boolean elements of this request, the default is Y.
</PRESLISTRQ>
Closing tag for bill list request
Tag Description
526 14.4 Bill Delivery
14.4.2.2 Bill List Response <PRESLISTRS>
The <PRESLISTRS> response must appear within a <PRESLISTTRNRS> transaction wrapper.
The <PRESLISTRS> response can contain zero or more bill summaries, with optional detail. Each bill
summary corresponds to a (usually monthly) bill. When a server has no bills to return, it should return
<STATUS><CODE>0 and leave out the <PRESLIST> within the <PRESLISTRS>.
When multiple selection criteria are used they are ANDed (as described in section 2.4.4.4). When counts
are requested in the <PRESLISTRQ> (<INCLUDECOUNTS>), the server should include counts of each
status requested where the bill’s <BILLSTATUSCODE> matches one of those specified in the
<PRESLISTRQ>, and the bill's <BILLPMTSTATUSCODE> matches one of those specified in the
<PRESLISTRQ>. Thus, a request containing <BILLSTATUSCODE>NEW,
<BILLSTATUSCODE>DELIVERED, <BILLSTATUSCODE>WITHDRAWN>,
<BILLPMTSTATUSCODE>NONE, and <BILLPMTSTATUSCODE>CANCELLED>, will return three
<BILLSTATUSCODE> counts and two <BILLPMTSTATUSCODE> counts. The sum of
<BILLSTATUSCODE> counts will be equal to the sum of the <BILLPMTSTATUSCODE> counts. No
inference can be drawn as to which bills have a combination of a specific <BILLSTATUSCODE> value
and a specific <BILLPMTSTATUSCODE> value.
Tag Description
<PRESLISTRS>
Opening tag for bill list response
<BILLPUB>
Official standard name of bill publisher, A-32
<USERID>
User whose bill data is being returned. Must match <USERID>
provided in <PRESLISTTRNRQ> (if specified),
“anonymous00000000000000000000000” (if <GROUPID> was
specified in the <PRESLISTTRNRQ>), or the <USERID> for the
authenticated user (otherwise),
A-32
<DTSTART>
Start date of bills returned, datetime
<DTEND>
Date to present as start date for next request, datetime
<PRESLIST>
Bill summary list, see section 14.4.2.2.1
</PRESLIST>
<PRESCOUNTS>
Bill Counts Aggregate
<BILLSTATUSCOUNTS>
Bill Status Counts, zero or more.
The count(s) of all bills matching the given selection criteria, having
a particular status(es). If <BILLSTATUSCODE> is not included in
the request with <INCLUDECOUNTS>Y, counts are returned for
every status with a non-zero count.
<BILLSTATUSCODE>
Bill Status Code, see section 14.4.2.2.3
<COUNT>
Count of Bills with the given Bill Status Code, Integer
OFX 2.1.1 Specification 5275/1/06
14.4.2.2.1 Bill List <PRESLIST>
The bill list aggregate <PRESLIST> contains a list of zero or more <PRESBILLINFO> aggregates.
Tag Description
<PRESLIST>
Opening tag for bill list
<PRESBILLINFO>
Bill information aggregate (zero or more that meet the selection criteria)
While supported by the syntax of OFX, an empty <PRESLIST> aggregate should
not be transmitted.
</PRESBILLINFO>
</PRESLIST>
Closing tag for bill list
14.4.2.2.2 Bill Information <PRESBILLINFO>
The bill information aggregate <PRESBILLINFO> provides information about a single bill, including the
amount due, date due, and pointers to more information.
If the client requested bill detail in the <PRESLISTRQ>, the bill publisher provides the detail in zero or
more <BILLDETAILTABLE> aggregates. If the client did not request bill detail, the server should use the
<DETAILAVAILABLE> flag to indicate whether the client can request bill detail at a later time using the
<PRESDETAILRQ> aggregate.
The bill identifier <BILLID> must uniquely identify the bill with the bill publisher (not merely with the
biller). The <BILLPUB> and <BILLID> combination must be globally unique, not the <FI> and
<BILLID> combination.
</BILLSTATUSCOUNTS>
<BILLPMTSTATUSCOUNTS>
Bill Payment Status Counts, zero or more. The count(s) of all bills
matching the given selection criteria, having a particular payment
status(es). If <BILLPMTSTATUSCODE> is not included in the
request with <INCLUDECOUNTS>Y, counts are returned for every
payment status with a non-zero count.
<BILLPMTSTATUSCODE>
Bill Payment Status Code, see section 14.4.2.2.4
<COUNT>
Count of Bills with the given Bill Payment Status Code, Integer
</BILLPMTSTATUSSCOUNTS>
</PRESCOUNTS>
</PRESLISTRS>
Closing tag for bill list response
Tag Description
528 14.4 Bill Delivery
The bill date <DTBILL> is usually a fixed number of days after the end of the bill period. It is not the date
on which the bill publisher received the bill for publication.
Tag Description
<PRESBILLINFO>
Opening tag for bill information
<BILLID>
Identifier for this bill within the bill publisher, A-32
<PRESACCTFROM>
Biller account information (see section 14.3.2.2)
</PRESACCTFROM>
<PAYEEID>
Payee identifier. Specify only if the bill publisher is also provides Bill
Payment service. See section 14.5.2. SRVRTID
<BILLREFINFO>
Biller-defined text to include with the payment, for the billers Accounts
Receivable reconciliation. Sections 14.5, 14.5.2. A-80
<AMTDUE>
Full payment amount due, amount
<MINAMTDUE>
Minimum payment amount due, amount
<DTPMTDUE>
Payment due date, datetime
<DTBILL>
Bill date, datetime
<DTOPEN>
Opening statement date, datetime
<DTCLOSE>
Closing statement date, datetime
<PREVBAL>
Balance of the account as of the previous period, amount
<ACTIVITY>
Net inflows and outflows for the account since the last period, amount
<ACCTBAL>
Balance of the account at the end of the current period, amount
<INVOICE>
Optional invoice data that the biller would like to receive with a payment (See
12.5.2.3). Client applications should allow the user to edit the amounts before
returning this in a payment
</INVOICE>
<NOTIFYDESIRED>
Indicator that a delivery notification (see section 14.4.5) is desired, Boolean
<BILLTYPE>
Bill Type. Possible values are:
BILL = Invoice of an amount due to the biller that is payable.
STATEMENT = History of activity on an account with the biller that is not
payable.
NOTICE = Generic letter from either biller or the bill publisher that is not
payable.
<BILLSTATUS>
Zero or more bill status aggregates. See section 14.4.2.2.3.
</BILLSTATUS>
<BILLPMTSTATUS>
Zero or more bill payment status aggregates. See section 14.4.2.2.4.
OFX 2.1.1 Specification 5295/1/06
If <PREVBAL>, <ACTIVITY>, and <ACCTBAL> are all present, then <PREVBAL> and <ACTIVITY>
must add up to <ACCTBAL>.
Note: This means payments from the consumer received by the biller are counted as negative
activity.
</BILLPMTSTATUS>
<STMNTIMAGE>
Statement image aggregate, see section 14.4.2.2.5
</STMNTIMAGE>
Choose DETAILAVAILABLE or
BILLDETAILTABLE, but not
both
<DETAILAVAILABLE>
Indicator that structured detail is available, Boolean
-or-
<BILLDETAILTABLE>
Bill details, when requested, see section 14.4.3.2.1
</BILLDETAILTABLE>
</PRESBILLINFO>
Closing tag for bill information
Tag Description
530 14.4 Bill Delivery
14.4.2.2.3 Bill Status <BILLSTATUS>
Tag Description
<BILLSTATUS>
<BILLSTATUSCODE>
Bill status code. Possible values are:
NEW = The server has not sent the bill to either the client or client proxy. This is
the initial status code of a bill.
DELIVERED = The server has sent the bill to either a client or client proxy.
VIEWED = The customer has seen the bill. Implies previous status of
DELIVERED.
RETIRED = The customer no longer wishes to see this bill. Implies previous
status of DELIVERED.
WITHDRAWN = The biller or publisher no longer wishes this bill to be
displayed.
UNDELIVERABLE = Attempts to deliver this bill to the consumer in a timely
fashion have failed. This status is not generally used when presenting a bill to a
consumer. However, notifications using this status cover many useful cases
<DTEFF>
Date/Time at which the status became effective (for example, the date and time a
bill is created in the initial status description for a bill). datetime
<STATUSMODBY>
Status modified by. Servers are not required to store this information. Possible
values are:
CUSTOMER = customer.
CUSTAGENT = An automated software agent acting on behalf of customer.
BILLPUBLISHER = Bill Publisher.
BILLPUBLISHERSR = Service representative acting on behalf of the payment
provider.
PMTPROVIDER = Payment Provider.
PMTPROVIDERSR = Service representative acting on behalf of the payment
provider.
BILLER = biller.
BILLERSR = Service representative acting on behalf of the biller.
</BILLSTATUS>
OFX 2.1.1 Specification 5315/1/06
14.4.2.2.4 Bill Payment Status <BILLPMTSTATUS>
Tag Description
<BILLPMTSTATUS>
Zero or more bill payment status aggregates
<SRVRTID>
The server transaction ID of the payment against this bill (see section 3.2.2),
A-36
<BILLPMTSTATUSCODE>
Bill payment status code. Possible values are:
NONE = There is neither a payment scheduled, nor has one been made
against this bill.
SCHEDULED = A payment has been scheduled, but not yet processed
against this bill.
PROCESSED = The payment has been processed against this bill, and can
no longer be cancelled.
POSTED = The biller has posted the payment against this bill.
PAIDOUTOFBAND = A Payment has been initiated for this bill via a
mechanism that does not report status via OFX. This status is intended to
indicate the customer has paid the biller directly with cash or a check or has
initiated an electronic payment through a mechanism that does not report
payment status through OFX.
AUTOPAY = The Biller or Service Provider will initiate the payment based
on a pre-authorization by the customer, typically a “good until cancelled”
instruction with no defined end date. In the US this is often implemented
using a recurring pre-authorized ACH debit, though some Billers offer pre-
authorized automatic payment through credit card. Examples include
monthly deductions to cover a mortgage, regular payments from a checking
account to a credit card, and the Automatic Payment Service (APS) offered
by many utilities. Like NONE, this may be the initial payment status of the
bill.
CANCELLED = The customer cancelled the payment that was previously
scheduled.
UNPAYABLE = None of the Payment Instruments allowed for this bill are
supported by the Payment Provider. This is intended to be used where the
bill restricts payment to a subset of the Payment Instruments allowed in the
Biller Directory entry. This could occur if the Payment Provider or the
Biller changed their supported payment instrument types after enrollment
and account activation.
<DTEFF>
Date/Time at which the status became effective (for example, the date and
time a bill is created in the initial status description for a bill). datetime
532 14.4 Bill Delivery
<STATUSMODBY>
Status modified by. Servers are not required to store this information.
Possible values are:
CUSTOMER = customer.
CUSTAGENT = An automated software agent acting on behalf of customer.
BILLPUBLISHER = Bill Publisher.
BILLPUBLISHERSR = Service representative acting on behalf of the
payment provider.
PMTPROVIDER = Payment Provider.
PMTPROVIDERSR = Service representative acting on behalf of the
payment provider.
BILLER = biller.
BILLERSR = Service representative acting on behalf of the biller.
</BILLPMTSTATUS>
Tag Description
OFX 2.1.1 Specification 5335/1/06
14.4.2.2.5 Statement Image <STMNTIMAGE>
The <STMNTIMAGE> aggregate provides one or more URLs that point to a fully rendered image of the
bill, in HTML.
<IMAGEURL> accesses the complete bill image. This URL may contain navigation to other sites, or to
other pages of bill images at the same site.
To support off-line viewing of the bill, the server may provide one or more additional URLs. Each
<PREFETCHURL> points to a local Web page.
Each URL associated with <IMAGEURL> and <PREFETCHURL> must include an authentication token
at the end (for example, ?authtoken=randomString). These embedded tokens guarantee that only the
customer can access the Web page. Accessing the statement image requires SSL. The bill publisher might
include an expiration date for the authentication token, and hence for the URLs. The expiration date could
be quite short (for example, 1 hour) or quite long (for example, 1 month). After the expiration date, the
client can obtain a new authentication token only by sending a new <PRESLISTRQ> request.
Tag Description
<STMNTIMAGE>
Opening tag for statement image
<IMAGEURL>
URL address for retrieving an image of the complete bill encoded as HTML. This
can be cached by the client for later display, or it can be viewed live directly from
the Web.
URL
<PREFETCHURL>
Advice in support of off-line viewing. Zero or more. URL
<DTEXPIRE>
Date after which embedded authentication token expires, datetime
</STMNTIMAGE>
Closing tag for statement image
534 14.4 Bill Delivery
14.4.2.3 Bill List Transaction Request <PRESLISTTRNRQ>
As the transaction wrapper for <PRESLISTRQ>, this aggregate specifies whether the client is requesting
bills for a single user or a group of users. The optional <USERID> and <GROUPID> elements support the
following scenarios:
A customer requests his or her own bills from the bill publisher: In this case, the client can
optionally specify the customers <USERID> in the <PRESLISTTRNRQ>. If the client does not
specify <USERID>, the bill publisher uses the <USERID> in the signon request <SONRQ>.
A customer service representative requests a bill on behalf of a user: The client sends the
representative’s <USERID> in the signon request <SONRQ>. To specify the user for which the
representative is retrieving bills, the client sends the customers <USERID> in the
<PRESLISTTRNRQ>. The bill publisher must ultimately decide whether the customer service
representative can access the requested bills. In its response, the bill publisher includes only those bills
for which the requester has access privileges.
A client proxy system fetches bills on behalf of a group of users: Instead of sending a <USERID>,
the client sends the <GROUPID> that identifies the group of users. Within the <PRESLISTTRNRS>,
the bill publisher returns a single <PRESLISTRS> containing zero or more <PRESBILLINFO>
aggregates for each user in the named group. Individual customers are distinguished using the
<USERID> element of each <PRESACCTFROM> in the <PRESBILLINFO> aggregates. Again, the
bill publisher decides whether access should be granted. Bill publishers that support usage of
<GROUPID> must maintain knowledge of which users are in which named group. The OFX
specification does not provide a way to track membership in a named group. Any such management
must happen out-of-band.
Note: <USERID> is not intended to identify individual users of joint accounts. If a transaction
might include two different USERIDs within otherwise identical <PRESACCTFROM>
aggregates, servers should deliver two separate bills (download the same bill twice). It is up to
the server to keep track of activity on joint accounts.
Tag Description
<PRESLISTTRNRQ>
Opening tag for bill list transaction request
<TRNUID>
Client-assigned globally unique ID for this transaction, trnuid
<CLTCOOKIE>
Data to be echoed in the transaction response, A-32
<TAN>
Specify either <USERID> or
<GROUPID>
Transaction authorization number, A-80
<USERID>
If present, the bill request is on behalf of this particular user,
A-32
- or -
<GROUPID>
If present, the bill request is on behalf of all users in the named group. If both
<USERID> and <GROUPID> are absent, the <USERID> in the <SONRQ> is
implied.
A-32
<PRESLISTRQ>
Bill List Request Aggregate
</PRESLISTRQ>
</PRESLISTTRNRQ>
Closing tag for bill list transaction request
OFX 2.1.1 Specification 5355/1/06
14.4.2.4 Bill List Transaction Response <PRESLISTTRNRS>
Tag Description
<PRESLISTTRNRS>
Opening tag for bill list transaction response
<TRNUID>
Client-assigned globally unique ID for this transaction trnuid
<STATUS>
Status aggregate
</STATUS>
<CLTCOOKIE>
Client provided data. REQUIRED if provided in request A-32
<PRESLISTRS>
Bill list response aggregate, optional
</PRESLISTRS>
</PRESLISTTRNRS>
Closing tag for bill list transaction response
536 14.4 Bill Delivery
14.4.2.5 Status Codes <PRESLISTRS>
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
2020 Invalid date (ERROR)
2027 Invalid date range (ERROR)
15508 Transaction not authorized (ERROR)
14.4.3 Bill Detail Retrieval
If statement detail is available for a bill, the client can retrieve the detail using a bill detail request
<PRESDETAILRQ>. One example of statement detail is the individual telephone calls from a telephone
bill.
14.4.3.1 Bill Detail Request <PRESDETAILRQ>
The <PRESDETAILRQ> request must appear within a <PRESDETAILTRNRQ> transaction wrapper.
Tag Description
<PRESDETAILRQ>
Opening tag for bill detail request
<BILLID>
Statement identifier from <PRESBILLINFO>, A-32
<BILLDETAILTABLETYPE>
If present, filters response to just tables of this type (See table 14.4.3.2.3), A-
32.
</PRESDETAILRQ>
Closing tag for bill detail request
OFX 2.1.1 Specification 5375/1/06
14.4.3.2 Bill Detail Response <PRESDETAILRS>
The <PRESDETAILRS> request must appear within a <PRESDETAILTRNRS> transaction wrapper.
The bill detail response contains zero or more <BILLDETAILTABLE> aggregates.
Tag Description
<PRESDETAILRS>
Opening tag for bill detail response
<PRESDETAIL>
Zero or more bill detail aggregates
<BILLID>
Statement identifier from <PRESBILLINFO>, A-32
<PRESACCTFROM>
Identifies biller account, see section 14.3.2.2. Must be included if in response
to an <PRESDETAILRQ>, is redundant inside <PRESBILLINFO>
</PRESACCTFROM>
<BILLDETAILTABLE>
Zero or more bill detail table aggregates. See section 14.4.3.2.1.
</BILLDETAILTABLE>
</PRESDETAIL>
Closing tag for bill detail aggregate
</PRESDETAILRS>
Closing tag for bill detail response
14.4.3.2.1 Bill Detail Table <BILLDETAILTABLE>
The bill detail table allows billers to send tabular data to the customer in a flexible way. The table might
contain phone calls from a telephone bill, or electrical meter readings for a utility bill.
A table consists of one or more rows, each having one or more columns. Within a table, all rows must have
identical structures. The <BILLDETAILTABLETYPE> determines the “shape” or schema of the table.
The <TABLENAME> gives a name to this table, and should be unique within an <PRESDETAILRS>
Note: The bill detail table may be redesigned in the future. Please consider this area “under
construction.”.
Tag Description
<BILLDETAILTABLE>
Opening tag for bill detail table
<TABLENAME>
Name of bill detail table, A-32
<BILLDETAILTABLETYPE>
Type of bill detail table (See section 14.4.3.2.3), A-32.
<BILLDETAILROW>
Zero or more bill detail row aggregates, see section 14.4.3.2.2
</BILLDETAILROW>
</BILLDETAILTABLE>
Closing tag for bill detail table
538 14.4 Bill Delivery
14.4.3.2.2 Bill Detail Row <BILLDETAILROW>
A <BILLDETAILTABLE> contains zero or more bill detail rows <BILLDETAILROW>.
A <BILLDETAILROW> contains zero or more columns <C>, whose meanings are specific to the type of
table <BILLDETAILTABLETYPE> in which they occur. For the purpose of the DTD parser, all columns
<C> are consider to be Format: A-255.
OFX requires all elements return data. If bill publishers do not use specific columns, they can return null
columns, represented by the element <N>. All columns <N> are considered to be Format: A-1.
Note: Bill publishers must include one character of data in a null column. Bill publishers can
omit blank columns at the end of a <BILLDETAILROW>, tag and all. DTD should not enforce
ordering, i.e. it should look like this:
<!ELEMENT BILLDETAILROW - - (C | N)*>
Tag Description
<BILLDETAILROW>
Opening tag for bill detail row
<C>
Zero or more column data elements, A-255
<N>
Zero or more column data elements, A-1
</BILLDETAILROW>
Closing tag for bill detail row
14.4.3.2.3 Table Types <BILLDETAILTABLETYPE>
OFX defines some common table types. Individual billers can define their own table types, and hence their
own table structures, but must honor the custom tag naming convention outlined in section
2.7.
Value Description
TransactionList Table defined for “payment register”-style line items
CallLog Table defined for record of telephone calls
ABC.Usage
Table defined by biller, not by OFX
OFX 2.1.1 Specification 5395/1/06
14.4.3.2.3.1 TransactionList Table Type
<BILLDETAILTABLE> aggregates marked with <BILLDETAILTABLETYPE>TransactionLists have
rows of 14 columns. The first column contains a unique identifier (like a BILLID), and must be present.
Other columns may not always apply and can be left blank.
The TransactionList table type is a subset of the <STMTTRN> aggregate in section 11.4.3.
Column Name Description
1 BillId Unique identifier token from server, A-32
2 TrnType Transaction type (see section 11.4.3.1)
3 DtPosted Date item was posted, datetime
4 DtUser Date user initiated transaction, if known, datetime
5 TrnAmount Amount of transaction, amount
6 CorrectBillId If present, unique identifier of previously sent transaction that is corrected by this
record, A-32
7 CorrectAction Replace or delete. Specify only if column 6 is present.
8 CheckNum Check or other reference number, A-12
9 RefNum Other reference number, A-12
10 SIC Standard Industrial Code, N-6
11 Name Name of payee or description of transaction, A-32
12 Memo Extra Information, memo
13 OrigCurSym Original Currency Identifier (ISO 42173 3-letter), A-3
14 CurRate Currency rate, ratio of currency to original currency, rate
540 14.4 Bill Delivery
14.4.3.2.3.2 CallLog Table Type
<BILLDETAILTABLE> aggregates marked with <BILLDETAILTABLETYPE>CallLog have rows of 10
columns.
Column Name Description
1 TNCalledFrom Telephone number called from, A-32
2 CityStateFrom City, state (or place, region) called from, A-16
3 TNCalled Telephone number called, A-32
4 CityState City, state (or place, region) called, A-16
5 Originated Date/time call started, datetime
6 Type Type of call, A-8
7 Rate Rate (for example, Night, Day, Eve, Wknd), A-5
8 Duration Duration of call in tenths of seconds, N-6
9 Cost Cost of call, amount
10 TNChargedTo Telephone number charged to, A-32
14.4.3.3 Status Codes <PRESDETAILRS>
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2023 Unknown BILLID (ERROR)
10600 Table type not found (ERROR)
14.4.4 Table Structure Definition
Clients can obtain the definition of a table structure by sending a table structure request
<BILLTBLSTRUCTRQ>.
Clients need only request the structure of tables it does not already know about. For instance, the client
might request the structure of a biller-specific table that starts with the x- prefix. Knowing the structure of
a table allows the client to display the data more clearly or store the data in a more compact form, such as a
database table.
OFX 2.1.1 Specification 5415/1/06
14.4.4.1 Table Structure Request <BILLTBLSTRUCTRQ>
To identify the table, the client includes the type of table <BILLDETAILTABLETYPE> and unique
identifier <BILLID> for the table. Although <BILLDETAILTABLETYPE> uniquely identifies the table,
OFX requires the <BILLID> as well to allow various server implementations.
The <BILLTBLSTRUCTRQ> request must appear within a <BILLTBLSTRUCTTRNRQ> transaction
wrapper.
Tag Description
<BILLTBLSTRUCTRQ>
Opening tag for the table structure request
<BILLID>
Statement Identifier, A-32
<BILLDETAILTABLETYPE>
Table type for which the structure is requested (See table 14.4.3.2.3), A-32.
</BILLTBLSTRUCTRQ>
Closing tag for the table structure request
14.4.4.2 Table Structure Response <BILLTBLSTRUCTRS>
The <BILLTBLSTRUCTRS> response must appear within a <BILLTBLSTRUCTTRNRS> transaction
wrapper.
The table structure response contains one or more column type definitions, which correspond positionally
with the <C> aggregates in a <BILLDETAILROW> in a <BILLDETAILTABLE> of the corresponding
<TABLETYPE>.
Tag Description
<BILLTBLSTRUCTRS>
Opening tag for table structure response
<BILLID>
Table identifier, A-32
<BILLDETAILTABLETYPE>
Table type (See table 14.4.3.2.3), A-32.
<COLDEF>
Zero or more column definition aggregates (see section 14.4.4.2.1)
</COLDEF>
</BILLTBLSTRUCTRS>
Closing tag for table structure response
542 14.4 Bill Delivery
14.4.4.2.1 Column Definition <COLDEF>
A column definition <COLDEF> associates a name and a data type with a column.
Tag Description
<COLDEF>
Opening tag for column definition
<COLNAME>
Column name, A-32
<COLTYPE>
Column type, valid values are (choose one): (A-255, D, N-6), A-8. Specifying D
in this field means the column type is datetime.
</COLDEF>
Closing tag for column definition
14.4.4.3 Status Codes <BILLTBLSTRUCTRS>
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2023 Unknown BILLID (ERROR)
10600 Table type not found (ERROR)
14.4.5 Delivery Notification
In OFX 1.6, a new Bill Status Modify transaction was added. This new transaction (see section 14.4.6) is a
semantic superset of Delivery Notification. Bill Status Modify should be used instead of Delivery
Notification.
The bill publisher can request delivery notification through the <NOTIFYDESIRED> flag in the
<PRESBILLINFO> aggregate (see section
14.4.2.2.2). The bill publisher will expect to receive the
delivery notification only if the <PRESLISTRQ> had the <NOTIFYWILLING> flag set.
The delivery notification request tells the bill publisher that the client has presented the specified bills to
the customer. This is a stronger statement than acknowledging that the bills have been received by the
client, specifically when the client software implements the pre-fetching or (push) model. Delivery
notification should be sent only once for any given bill, and it should be sent the first time that the Bill
Summary is displayed. Receipt of a delivery notification by the bill publisher has no legal significance.
OFX does not define the maximum elapsed time between the presentation of the bill and the delivery
notification.
OFX 2.1.1 Specification 5435/1/06
14.4.5.1 Delivery Notification Request <PRESNOTIFYRQ>
In OFX 1.6, a new Bill Status Modify request, <BILLSTATUSMODRQ>, was added. This new request
(see section
14.4.6.1) should be used instead of <PRESNOTIFYRQ>.
The <PRESNOTIFYRQ> request must appear within a <PRESNOTIFYTRNRQ> transaction wrapper.
Tag Description
<PRESNOTIFYRQ>
Opening tag for delivery notification request
<PRESDELIVERYID>
A bill delivery ID aggregate (see section 14.4.5.1.1)
</PRESDELIVERYID>
</PRESNOTIFYRQ>
Closing tag for delivery notification Request
14.4.5.1.1 Bill Delivery Identification <PRESDELIVERYID>
This aggregate identifies a bill delivery instance and suggests when the bill was “seen.”
<DTSEEN> is the date and time at which the client displayed the bill to the customer. There is no legal
significance to this bill delivery identification.
Tag Description
<PRESDELIVERYID>
Opening tag for the bill delivery identification
<PRESACCTFROM>
Biller account information, see section 14.3.2.2
</PRESACCTFROM>
<BILLID>
Identifies the bill from the given biller, A-32
<DTSEEN>
Date and time at which the bill was made available to the requester’s client,
datetime
</PRESDELIVERYID>
Closing tag for the bill delivery identification
544 14.4 Bill Delivery
14.4.5.2 Delivery Notification Response <PRESNOTIFYRS>
In OFX 1.6, a new Bill Status Modify request, <BILLSTATUSMODRS>, was added. This new request
(see section
14.4.6.2) should be used instead of <PRESNOTIFYRS>.
The <PRESNOTIFYRS> response must appear within a <PRESNOTIFYTRNRS> transaction wrapper.
The delivery notification response lets the client know that the delivery notification request was received
by the bill publisher.
Tag Description
<PRESNOTIFYRS>
Opening tag for Delivery Notification Response
<PRESDELIVERYID>
A bill delivery ID aggregate (See section 14.4.5.1.1)
</PRESDELIVERYID>
</PRESNOTIFYRS>
Closing tag for Delivery Notification Response
14.4.5.3 Status Codes <PRESNOTIFYRS>
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2023 BILLID not found (ERROR)
15508 Transaction not authorized (ERROR)
OFX 2.1.1 Specification 5455/1/06
14.4.6 Bill Status Modification
14.4.6.1 Request <BILLSTATUSMODRQ>
The Bill Status Modify Request <BILLSTATUSMODRQ> must appear within a
<BILLSTATUSMODTRNRQ> transaction wrapper.
Tag Description
<BILLSTATUSMODRQ>
<BILLID>
Identifies the bill from a given biller, A-32
<BILLSTATUS>
Bill status aggregate. See section 14.4.2.2.3.
</BILLSTATUS>
<BILLPMTSTATUS>
Bill payment status aggregate. See section 14.4.2.2.4.
</BILLPMTSTATUS>
</BILLSTATUSMODRQ>
14.4.6.2 Response <BILLSTATUSMODRS>
The Bill Status Modify Response <BILLSTATUSMODRS> must appear within a
<BILLSTATUSMODTRNRS> transaction wrapper.
Tag Description
<BILLSTATUSMODRS>
<BILLID>
Identifies the bill from a given biller, A-32
<BILLSTATUS>
Bill status aggregate. Echoed from the request. See section 14.4.2.2.3.
</BILLSTATUS>
<BILLPMTSTATUS>
Bill payment status aggregate. Echoed from the request. See section 14.4.2.2.4.
</BILLPMTSTATUS>
</BILLSTATUSMODRS>
546 14.5 Bill Payment
14.4.6.3 Status Codes <BILLSTATUSMODRS>
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2023 BILLID not found (ERROR)
15508 Transaction not authorized (ERROR)
14.5 Bill Payment
To pay a bill received through a <PRESLISTRQ> request, the client can use the Bill Payment message set
defined in
Chapter 12, "Payments." To construct the payment information <PMTINFO> (see section
12.5.2), the client can use the bill information from <PRESBILLINFO>.
14.5.1 Remittance Information
The client should include the <BILLREFINFO> from the <PRESBILLINFO> aggregate as the
<BILLREFINFO> in the <PMTINFO> aggregate. This token allows the biller to link the payment with the
bill.
14.5.2 Payee Identification
Client software can produce <PAYEEID> or <PAYEE> in one of two ways.
If the same company provides Bill Presentment and Bill Payment services, the client can use the
<PAYEEID> included in the <PRESBILLINFO> aggregate.
If the Bill Payment provider is a different company, the client must use information from the
<PRESACCTINFO> to construct the <PAYEE> information.
OFX 2.1.1 Specification 5475/1/06
14.6 Bill Presentment E-Mail
OFX currently defines a Bill Presentment e-mail message that clients can send to bill publishers. With this
message, a customer can send a message to a bill publisher regarding one of his or her accounts.
The server acknowledges receipt of the message. The bill publisher then prepares a response that the client
picks up when it synchronizes with the server. E-mail is subject to synchronization, using
<PRESMAILSYNCRQ> (defined in section
14.6.4) and <PRESMAILSYNCRS> (defined in section
14.6.5.)
Client Sends Server Responds
Addressed message
PRES account
information
Acknowledgment
.
.
.
Synchronization request
Response to customer
548 14.6 Bill Presentment E-Mail
14.6.1 Bill Presentment Mail Request <PRESMAILRQ>
The client must identify the account to which account the customer query is related.
The <PRESMAILRQ> request must appear with a <PRESMAILTRNRQ> transaction wrapper.
Tag Description
<PRESMAILRQ>
PRES-e-mail-request aggregate
<PRESACCTFROM>
Account-from aggregate, see section 14.3.2.2
</PRESACCTFROM>
<MAIL>
To, from, message information, see section 9.2.2
</MAIL>
</PRESMAILRQ>
14.6.2 Bill Presentment Mail Response <PRESMAILRS>
The <PRESMAILRS> request must appear with a <PRESMAILTRNRS> transaction wrapper.
Tag Description
<PRESMAILRS>
PRES-e-mail-response aggregate
<PRESACCTFROM>
Account-from aggregate, see section 14.3.2.2
</PRESACCTFROM>
<MAIL>
To, from, message information, see section 9.2.2
</MAIL>
</PRESMAILRS>
OFX 2.1.1 Specification 5495/1/06
14.6.3 Status Codes <PRESMAILRS>
Code Meaning
0 Success (INFO)
2000 General error (ERROR)
2002 General account error (ERROR)
2003 Account not found (ERROR)
2004 Account closed (ERROR)
2005 Account not authorized (ERROR)
15508 Transaction not authorized (ERROR)
16500 HTML not allowed (ERROR)
16501 Unknown mail To: (ERROR)
550 14.6 Bill Presentment E-Mail
14.6.4 Request <PRESMAILSYNCRQ>
Tag Description
<PRESMAILSYNCRQ>
Synchronization request aggregate
Client synchronization option;
<TOKEN>, <TOKENONLY>, or
<REFRESH>
<TOKEN>
Previous value of <TOKEN> received for this type of synchronization
request from server; 0 for first-time requests; token
<TOKENONLY>
Request for just the current <TOKEN> without the history, Boolean
<REFRESH>
Request for refresh of current state, Boolean
<REJECTIFMISSING>
If Y, do not process requests if client <TOKEN> is out of date, Boolean
<INCIMAGES>
Y if the client accepts mail with images in the message body. N if the client
does not accept mail with images in the message body. Boolean
<USEHTML>
Y if client wants an HTML response, N if client wants plain text, Boolean
<PRESACCTFROM>
Account-from aggregate, see section 14.3.2.2
</PRESACCTFROM>
<PRESMAILTRNRQ>
Bill presentment mail transactions (0 or more)
</PRESMAILTRNRQ>
</PRESMAILSYNCRQ>
OFX 2.1.1 Specification 5515/1/06
14.6.5 Response <PRESMAILSYNCRS>.
Tag Description
<PRESMAILSYNCRS>
Synchronization response aggregate
<TOKEN>
New synchronization token, token
<LOSTSYNC>
Y if the token in the synchronization request is older than the earliest entry in
the servers history table. In this case, some responses have been lost.
N if the token in the synchronization request is newer than or matches a token
in the servers history table. Boolean
<PRESACCTFROM>
Account-from aggregate, see section 14.3.2.2
</PRESACCTFROM>
<PRESMAILTRNRS>
Bill presentment mail transactions (0 or more)
</PRESMAILTRNRS>
</PRESMAILSYNCRS>
552 14.7 Message Sets and Profile
14.7 Message Sets and Profile
OFX separates the messages that the client and server send into groups called message sets. In its profile
response <PROFRS>, each bill publisher or other server provider defines the message sets that it supports
and any options available for those message sets.
This section defines the message sets supported by Bill Presentment. It then describes the corresponding
message set profile aggregates that can be provided in the profile response <PROFRS>. The message set
profile aggregates for the <PROFRS> allow a bill publisher or other server provider to customize its use of
OFX. For example, a server might support the Bill Delivery message set <PRESDLVMSGSET>, but not
the Group Account Information message set <PRESDIRMSGSET>.
For general information about profiles, see Chapter 7, "FI Profile."
14.7.1 Message Sets and Messages
Bill Presentment defines the following message sets:
Biller Directory message set <PRESDIRMSGSET>, which includes messages for finding billers and
bill publishers
Bill Delivery message set <PRESDLVMSGSET>, which includes messages for delivering bills and bill
detail to customers, as well as messages for getting account information for a group of users
14.7.1.1 Biller Directory Message Set and Messages
The following tables show the OFX transactions and their corresponding transaction wrappers for a
particular message set.
14.7.1.1.1 Biller Directory Request Messages
Message Set Message
<PRESDIRMSGSET>
<PRESDIRMSGSETV1>
<PRESDIRMSGSRQV1>
FINDBILLERTRNRQ
FINDBILLERRQ
</PRESDIRMSGSRQV1>
</PRESDIRMSGSETV1>
</PRESDIRMSGSET>
OFX 2.1.1 Specification 5535/1/06
14.7.1.1.2 Biller Directory Response Messages
Message Set Message
<PRESDIRMSGSET>
<PRESDIRMSGSETV1>
<PRESDIRMSGSRSV1>
FINDBILLERTRNRS
FINDBILLERRS
</PRESDIRMSGSRSV1>
</PRESDIRMSGSETV1>
</PRESDIRMSGSET>
554 14.7 Message Sets and Profile
14.7.1.2 Bill Delivery Message Set and Messages
14.7.1.2.1 Bill Delivery Request Messages
Message Set Message
<PRESDLVMSGSRQV1>
PRESLISTTRNRQ
PRESLISTRQ
PRESDETAILTRNRQ
PRESDETAILRQ
BILLTBLSTRUCTTRNRQ
BILLTBLSTRUCTRQ
BILLSTATUSMODTRNRQ
BILLSTATUSMODRQ
PRESNOTIFYTRNRQ
PRESNOTIFYRQ
PRESGRPACCTINFOTRNRQ
ACCTINFORQ
PRESMAILTRNRQ
PRESMAILRQ
PRESMAILSYNCRQ
</PRESDLVMSGSRQV1>
OFX 2.1.1 Specification 5555/1/06
14.7.1.2.2 Bill Delivery Response Messages
Message Set Message
<PRESDLVMSGSRSV1>
PRESLISTTRNRS
PRESLISTRS
PRESDETAILTRNRS
PRESDETAILRS
BILLTBLSTRUCTTRNRS
BILLTBLSTRUCTRS
BILLSTATUSMODTRNRS
BILLSTATUSMODRS
PRESNOTIFYTRNRS
PRESNOTIFYRS
PRESGRPACCTINFOTRNRS
ACCTINFORS
PRESMAILTRNRS
PRESMAILRS
PRESMAILSYNCRS
</PRESDLVMSGSRSV1>
556 14.7 Message Sets and Profile
14.7.2 Biller Directory Message Set Profile
This section defines the profile aggregate for the Biller Directory message set. This profile aggregate
should be included in the <PROFRS> response for those servers that support the Biller Directory message
set.
Message Set Message
<PRESDIRMSGSET>
Opening tag for the Biller Directory message set profile
<PRESDIRMSGSETV1>
Version 1 of Biller Directory message set, one or more
<MSGSETCORE>
Common message-set core
</MSGSETCORE>
<PRESDIRPROF>
Directory profile (if supported)
<PROCDAYSOFF>
Days of week that no processing occurs: MONDAY, TUESDAY,
WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY. 0
or more <PROCDAYSOFF> can be sent.
<CANSUPPORTIMAGES>
Supports delivery of images as multipart MIME, Boolean
<PROCENDTM>
Time of day that day’s processing ends, time
</PRESDIRPROF>
</PRESDIRMSGSETV1>
</PRESDIRMSGSET>
Closing tag for the Biller Directory message set profile
14.7.3 Bill Delivery Message Set Profile
This section defines the profile aggregate for the Bill Delivery message set. This profile aggregate should
be included in the <PROFRS> response for those servers that support the Bill Delivery message set.
Tag Description
<PRESDLVMSGSET>
Opening tag for the Bill Delivery message set profile
<PRESDLVMSGSETV1>
Version 1 of Bill Delivery message set, one or more
<MSGSETCORE>
Common message-set core
</MSGSETCORE>
<PRESDLVPROF>
Bill Delivery profile (if supported)
<CANSUPPORTGROUPID
>
Supports account information requests for a group of users, that is
<PRESGRPACCTINFOTRNRQ> and <GROUPID> in
<PRESLISTTRNRQ>,
Boolean
OFX 2.1.1 Specification 5575/1/06
<PROCDAYSOFF>
Days of week that no processing occurs: MONDAY, TUESDAY,
WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or SUNDAY.
0 or more <PROCDAYSOFF> can be sent.
<CANSUPPORTIMAGES>
Supports delivery of images as multipart MIME, Boolean
<PROCENDTM>
Time of day that day’s processing ends, time
<CANUPDATEPRESNAME
ADDRESS>
Supports update of the PRESNAMEADDRESS associated with a
particular bill, Boolean
See section 14.3.3.1
<CANMODSTATUS>
Y if server supports the <BILLSTATUSMODRQ>. This must be
explicitly supported by the server before it is used by the client. The
default for this option is N.
Boolean
Note: Servers that support <BILLSTATUSMODRQ> are required
to continue support for <PRESNOTIFYRQ>.
</PRESDLVPROF>
<EMAILPROF>
E-mail profile
<CANEMAIL>
Supports generalized e-mail, Boolean
<CANNOTIFY>
Supports notification (of any kind), Boolean
</EMAILPROF>
</PRESDLVMSGSETV1>
</PRESDLVMSGSET>
Closing tag for the Bill Delivery message set profile
Tag Description
558 14.8 Bill Presentment Examples
14.8 Bill Presentment Examples
14.8.1 Find Biller Examples
14.8.1.1 Get All Billers
The client sends a <FINDBILLERRQ> request, as shown in the following example, to retrieve all
available billers.
Note: These examples show the customer signing on anonymously. But, they may have
enrolled in the past and choose to use their actual <USERID> and <USERPASS>. Anonymous
signon is not required for use of the Biller Directory service (see section
14.2.1).
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- Begin anonymous signon -->
<DTCLIENT>20050707202000</DTCLIENT<!-- Jul. 7, 2005, 8:20:00 PM
-->
<USERID>anonymous00000000000000000000000</USERID>
<USERPASS>anonymous00000000000000000000000</USERPASS>
<LANGUAGE>ENG</LANGUAGE> <!-- Language used for text -->
<FI> <!-- ID of receiving institution -->
<ORG>NCH</ORG> <!-- Name of ID owner -->
<FID>1001</FID> <!-- Actual ID -->
</FI>
<APPID>MyApp</APPID>
<APPVER>0500</APPVER>
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
<PRESDIRMSGSRQV1>
<FINDBILLERTRNRQ>
<TRNUID>1231239</TRNUID>
<FINDBILLERRQ> <!--Beginning of find biller request-->
<INCIMAGES>N</INCIMAGES><!--LOGO Images are not requested-->
</FINDBILLERRQ> <!--End of request-->
</FINDBILLERTRNRQ>
</PRESDIRMSGSRQV1>
</OFX>
OFX 2.1.1 Specification 5595/1/06
To keep the size of the example reasonable, we will assume that there are only four billers. Here is the
server reply.
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- Begin signon -->
<STATUS> <!-- Begin status aggregate -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20050707202001</DTSERVER><!-- Jul. 7, 2005, 8:20:01 PM
-->
<LANGUAGE>ENG</LANGUAGE> <!-- Language used in response -->
<DTPROFUP>19990630000000</DTPROFUP> <!-- Last update to profile
-->
<DTACCTUP>19990701233045</DTACCTUP> <!-- Last account update -->
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<PRESDIRMSGSRSV1>
<FINDBILLERTRNRS>
<TRNUID>1231239</TRNUID>
<STATUS> <!-- Begin status aggregate -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<FINDBILLERRS> <!--Beginning of response-->
<DTUPDATE>20050415092000</DTUPDATE>
<!--Date last update 04/15/99 9:20am-->
<BILLERINFO>
<BILLPUB>Wepubbills</BILLPUB><!--Name of Bill Publisher-->
<BILLERID>123456789</BILLERID><!--Biller ID at Wepubbills-->
<NAME>RealBig Credit Co.</NAME>
<!--Name of biller-->
<ADDR1>1324 Whatever St.</ADDR1>
<!--Street address of biller-->
<CITY>MajorMetro</CITY><!--City of the Biller-->
<STATE>OH</STATE> <!--State of the biller-->
<POSTALCODE>12345-1234</POSTALCODE>
<!--Postal code of biller-->
<COUNTRY>USA</COUNTRY>
<SIC>23</SIC> <!--Standard Industry Code of biller-->
<PHONE>614-235-2323</PHONE><!--Biller’s phone number-->
<PAYMENTINSTRUMENTS> <!--Type of payment accepted-->
<PAYMENTINSTRUMENT>
560 14.8 Bill Presentment Examples
<PMTINSTRUMENTTYPE>CHECKINGACCOUNT</PMTINSTRUMENTTYPE>
</PAYMENTINSTRUMENT>
<PAYMENTINSTRUMENT>
<PMTINSTRUMENTTYPE>CONCENTRATOR</PMTINSTRUMENTTYPE>
<BRAND>CityBank</BRAND>
</PAYMENTINSTRUMENT>
</PAYMENTINSTRUMENTS>
<ACCTFORMAT>([0-9]\{3\}-)\{3\}</ACCTFORMAT>
<!--Regular expression describing -->
<!--biller’s account number-->
<ACCTEDITMASK>###-###-####</ACCTEDITMASK>
<!--Edit mask for account number-->
<LOGO>http://www.realbig.com/logo.gif</LOGO>
<!--URL to logo of biller-->
</BILLERINFO>
<BILLERINFO>
<BILLPUB>Wepubbills</BILLPUB><!--Name of Bill Publisher-->
<BILLERID>222334465</BILLERID><!--Biller ID at Wepubbills-->
<NAME>Aphone Company</NAME><!--Name of biller-->
<ADDR1>1324 Where Blvd<ADDR1>
<!--Street address of biller-->
<CITY>Sometown</CITY><!--City of the biller-->
<STATE>CA</STATE> <!--State of the biller-->
<POSTALCODE>10992-1234</POSTALCODE>
<!--Postal code of biller-->
<COUNTRY>USA</COUNTRY>
<SIC>39</SIC> <!--Standard Industry Code of biller-->
<PHONE>345-345-3489</PHONE><!--Biller’s phone number-->
<PAYMENTINSTRUMENTS> <!--Type of payment accepted-->
<PAYMENTINSTRUMENT>
<PMTINSTRUMENTTYPE>CHECKINGACCOUNT</PMTINSTRUMENTTYPE>
</PAYMENTINSTRUMENT>
</PAYMENTINSTRUMENTS>
<ACCTFORMAT>([1-9]\{2\}-)\{2\}[0-9]\{3\}</ACCTFORMAT>
<!--Regular expression describing-->
<!--biller’s account number-->
<ACCTEDITMASK>##-##-###</ACCTEDITMASK>
<!--Edit mask for account number-->
<LOGO>http://www.webup.com/aphone.gif</LOGO>
<!--URL to logo of biller-->
</BILLERINFO>
<BILLERINFO>
<BILLPUB>Wepubbills</BILLPUB><!--Name of Bill Publisher-->
OFX 2.1.1 Specification 5615/1/06
<BILLERID>98765123454</BILLERID><!--Biller ID at Wepubbills-
->
<NAME>Goodol Mortgage</NAME><!--Name of biller-->
<ADDR1>8273 Magnolia St.</ADDR1>
<!--Street address of biller-->
<CITY>Atlanta</CITY> <!--City of the Biller-->
<STATE>GA</STATE> <!--State of the biller-->
<POSTALCODE>34342-6789</POSTALCODE>
<!--Postal code of biller-->
<COUNTRY>USA</COUNTRY>
<SIC>03</SIC> <!--Standard Industry Code of biller-->
<PHONE>864-234-6745</PHONE><!--Biller’s phone number-->
<PAYMENTINSTRUMENTS> <!--Type of payment accepted-->
<PAYMENTINSTRUMENT>
<PMTINSTRUMENTTYPE>CHECKINGACCOUNT</PMTINSTRUMENTTYPE>
</PAYMENTINSTRUMENT>
</PAYMENTINSTRUMENTS>
<ACCTFORMAT>[0-1]\{12\}</ACCTFORMAT>
<!--Regular expression describing-->
<!--biller’s account number-->
<HELPMESSAGE>Enter the first 13 digits of your account
number</HELPMESSAGE>
<!--to help user key account number-->
<RESTRICT> GA residents only.</RESTRICT>
<!--Indicate restricted availability-->
<LOGO>http://www.wepub.com/mort.gif</LOGO>
<!--URL to logo of biller-->
</BILLERINFO>
<BILLERINFO>
<BILLPUB>Wepubbills</BILLPUB><!--Name of Bill Publisher-->
<BILLERID>32812816734</BILLERID><!--Biller ID at Wepubbills-
->
<NAME>Sam’s Widgets</NAME><!--Name of biller-->
<ADDR1>Apt B3</ADDR1><!--Street address of biller-->
<ADDR2>1267 Tank Rd</ADDR2>
<CITY>Columbus</CITY><!--City of Biller-->
<STATE>OH</STATE> <!--State of the biller-->
<POSTALCODE>77723-8989</POSTALCODE>
<!--Postal code of biller-->
<COUNTRY>USA</COUNTRY>
<SIC>12</SIC> <!--Standard Industry Code of biller-->
<PHONE>614-657-8934</PHONE><!--Biller’s phone number-->
<PAYMENTINSTRUMENTS> <!--Type of payment accepted-->
<PAYMENTINSTRUMENT>
562 14.8 Bill Presentment Examples
<PMTINSTRUMENTTYPE>CHECKINGACCOUNT</PMTINSTRUMENTTYPE>
</PAYMENTINSTRUMENT>
<PAYMENTINSTRUMENT>
<PMTINSTRUMENTTYPE>CONCENTRATOR</PMTINSTRUMENTTYPE>
<BRAND>BigConcentrator</BRAND>
</PAYMENTINSTRUMENT>
</PAYMENTINSTRUMENTS>
<ACCTEDITMASK>A###-####-####</ACCTEDITMASK>
<!--Edit mask for account number-->
<LOGO>http://www.relbig.com/logo.gif</LOGO>
<!--URL to logo of biller-->
<VALIDATE>http://www.wepub.com/sam.cgi</VALIDATE>
<!--URL used to validate acct number-->
</BILLERINFO>
</FINDBILLERRS>
</FINDBILLERTRNRS>
</PRESDIRMSGSRSV1>
</OFX>
14.8.1.2 Find Selected Billers
In the following example, the client requests only those billers that are located in Ohio.
Note: These examples show the customer signing on anonymously. But, they may have
enrolled in the past and choose to use their actual <USERID> and <USERPASS>. Anonymous
signon is not required for use of the Biller Directory service (see section
14.2.1).
<OFX> <!-- Begin request data -->
<SIGNONMSGSRQV1>
<SONRQ> <!-- Begin anonymous signon -->
<DTCLIENT>20050707202003</DTCLIENT> <!-- Jul. 7, 2005, 8:20:03
PM -->
<USERID>anonymous00000000000000000000000</USERID>
<USERPASS>anonymous00000000000000000000000</USERPASS>
<LANGUAGE>ENG</LANGUAGE> <!-- Language used for text -->
<FI> <!-- ID of receiving institution -->
<ORG>NCH</ORG> <!-- Name of ID owner -->
<FID>1001</FID> <!-- Actual ID -->
</FI>
<APPID>MyApp</APPID>
<APPVER>0500</APPVER>
</SONRQ> <!-- End of signon -->
</SIGNONMSGSRQV1>
OFX 2.1.1 Specification 5635/1/06
<PRESDIRMSGSRQV1>
<FINDBILLERTRNRQ>
<TRNUID>1231245</TRNUID>
<FINDBILLERRQ>
<STATE>OH</STATE>
<INCIMAGES>N</INCIMAGES>
</FINDBILLERRQ>
</FINDBILLERTRNRQ>
</PRESDIRMSGSRQV1>
</OFX>
In the same circumstances as before, the response would be:
<OFX> <!-- Begin response data -->
<SIGNONMSGSRSV1>
<SONRS> <!-- Begin signon -->
<STATUS> <!-- Begin status aggregate -->
<CODE>0</CODE> <!-- OK -->
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20050707202004</DTSERVER> <!-- Jul. 7, 2005, 8:20:04
PM
<LANGUAGE>ENG</LANGUAGE> <!-- Language used in response -->
<DTPROFUP>19990630000000</DTPROFUP> <!-- Last update to profile
-->
<DTACCTUP>19990701233045</DTACCTUP> <!-- Last account update -->
</SONRS> <!-- End of signon -->
</SIGNONMSGSRSV1>
<PRESDIRMSGSRSV1>
<FINDBILLERTRNRS>
<TRNUID>1231245</TRNUID>
<STATUS> <!-- Begin status aggregate -->
<CODE>0</CODE> <!-- OK --><
<SEVERITY>INFO</SEVERITY>
</STATUS>
<FINDBILLERRS>
<DTUPDATE>20050415092000</DTUPDATE>
<!--Date last update 04/15/99 9:20am-->
<BILLERINFO>
<BILLPUB>Wepubbills</BILLPUB><!--Name of Bill Publisher-->
<BILLERID>123456789</BILLERID><!--Biller ID at Wepubbills-->
<NAME>RealBig Credit Co.</NAME>
<!--Name of biller-->
564 14.8 Bill Presentment Examples
<ADDR1>1324 Whatever St.</ADDR1>
<!--Street address of biller-->
<CITY>MajorMetro</CITY><!--City of the Biller-->
<STATE>OH</STATE> <!--State of the biller-->
<POSTALCODE>12345-1234</POSTALCODE>
<!--Postal code of biller-->
<COUNTRY>USA</COUNTRY>
<SIC>23</SIC> <!--Standard Industry Code of biller-->
<PHONE>614-235-2323</PHONE><!--Biller’s phone number-->
<PAYMENTINSTRUMENTS> <!--Type of payment accepted-->
<PAYMENTINSTRUMENT>
<PMTINSTRUMENTTYPE>CHECKINGACCOUNT</PMTINSTRUMENTTYPE>
</PAYMENTINSTRUMENT>
<PAYMENTINSTRUMENT>
<PMTINSTRUMENTTYPE>CONCENTRATOR</PMTINSTRUMENTTYPE>
<BRAND>CityBank</BRAND>
</PAYMENTINSTRUMENT>
</PAYMENTINSTRUMENTS>
<ACCTFORMAT>([0-1]\{3\}-)\{3\}</ACCTFORMAT>
<!--Regular expression describing-->
<!--biller’s account number-->
<ACCTEDITMASK>###-###-###-</ACCTEDITMASK>
<!--Edit mask for account number-->
<LOGO>http://www.relbig.com/logo.gif</LOGO>
<!--URL to logo of biller-->
</BILLERINFO>
</FINDBILLERRS>
</FINDBILLERTRNRS>
</PRESDIRMSGSRSV1>
</OFX>
OFX 2.1.1 Specification 5655/1/06
14.8.2 Enrollment Examples
In this example, the client wants to enroll with a bill publisher.
14.8.2.1 Enrollment Request
<OFX>
<SIGNONMSGSRQV1> <!--Signon Request-->
<SONRQ>
<DTCLIENT>20050307022243</DTCLIENT><!--Timestamp, 3/07/99,
2:22:43am-->
<USERID>anonymous00000000000000000000000</USERID>
<USERPASS>anonymous00000000000000000000000</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<APPID>OFXAPP</APPID>
<APPVER>0201</APPVER>
</SONRQ>
</SIGNONMSGSRQV1>
<SIGNUPMSGSRQV1> <!--Enrollment Request-->
<ENROLLTRNRQ>
<TRNUID>10001</TRNUID>
<ENROLLRQ>
<FIRSTNAME>Cindy</FIRSTNAME>
<MIDDLENAME>P</MIDDLENAME>
<LASTNAME>Williams</LASTNAME>
<ADDR1>123 Oak St</ADDR1>
<CITY>San Jose</CITY>
<STATE>CA</STATE>
<POSTALCODE>94111<POSTALCODE>
<COUNTRY>USA</COUNTRY>
<DAYPHONE>415-555-0123</DAYPHONE>
<EVEPHONE>408-555-2323</EVEPHONE>
<EMAIL>cindy@aol.com</EMAIL>
<USERID>cindyid</USERID>
<TAXID>111-33-5555</TAXID>
<SECURITYNAME>wynona</SECURITYNAME>
<DATEBIRTH>19650402</DATEBIRTH>
</ENROLLRQ>
</ENROLLTRNRQ>
</SIGNUPMSGSRQV1>
</OFX>
566 14.8 Bill Presentment Examples
14.8.2.2 Enrollment Response
For this example, the server responds with immediate acceptance. In practice, many servers would send an
enrollment status code of 13000 and send the user ID and password in a welcome letter.
<OFX>
<SIGNONMSGSRSV1> <!--Signon response->
<SONRS>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20050307081437</DTSERVER><!--Timestamp, 3/07/05,
8:14:37am-->
<LANGUAGE>ENG</LANGUAGE>
<DTPROFUP>19990301070000</DTPROFUP><!--Timestamp, 3/01/99,
7:00:00am-->
<DTACCTUP>19990301070000</DTACCTUP><!--Timestamp, 3/01/99,
7:00:00am-->
</SONRS>
</SIGNONMSGSRSV1>
<SIGNUPMSGSRSV1> <!--Enrollment response-->
<ENROLLTRNRS>
<TRNUID>10001</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<ENROLLRS>
<TEMPPASS>y12345</TEMPPASS>
<USERID>cindyid</USERID>
<DTEXPIRE>20050407</DTEXPIRE><!--When Temp Password Expires-->
</ENROLLRS>
</ENROLLTRNRS>
</SIGNUPMSGSRSV1>
</OFX>
OFX 2.1.1 Specification 5675/1/06
14.8.3 Activation Example
After enrollment, Cindy wants to sign up with a biller, presumably found with the directory services, with
biller ID 415-552-9923 of bill publisher Publisher, Inc.
14.8.3.1 Activation Request
<OFX>
<SIGNONMSGSRQV1> <!--Signon Request-->
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<SIGNUPMSGSRQV1> <!--Activation Request-->
<ACCTTRNRQ>
<TRNUID>10002</TRNUID>
<ACCTRQ> <!—-Activate biller acct -->
<SVCADD>
<PRESACCTTO>
<BILLPUB>Publisher, Inc.</BILLPUB>
<BILLERID>415-552-9923</BILLERID>
<ACCTID>4128 9343 2324 2314</ACCTID>
<PRESNAMEADDRESS>
<NAMEACCTHELD>Cindy P Williams</NAMEACCTHELD><!--Name as
on biller’s statement-->
<ADDR1>123 Oak St</ADDR1><!--Address as on statement-->
<CITY>San Jose</CITY>
<STATE>CA</STATE>
<POSTALCODE>94111</POSTALCODE>
<COUNTRY>USA</COUNTRY>
<DAYPHONE>408-555-2323</DAYPHONE>
</PRESNAMEADDRESS>
<USERID>cindyid</USERID>
</PRESACCTTO>
</SVCADD>
<SVC>PRESSVC</SVC>
</ACCTRQ>
</ACCTTRNRQ>
</SIGNUPMSGSRQV1>
</OFX>
568 14.8 Bill Presentment Examples
14.8.3.2 Activation Response
<OFX>
<SIGNONMSGSRSV1> <!--Signon Response->
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<SIGNUPMSGSRSV1> <!--Enrollment Response-->
<ACCTTRNRS> <!--Service Activation Response-->
<TRNUID>10002</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<ACCTRS>
<SVCADD>
<PRESACCTTO>
<BILLPUB>Publisher, Inc.</BILLPUB>
<BILLERID>415-552-9923</BILLERID>
<ACCTID>4128 9343 2324 2314</ACCTID>
<PRESNAMEADDRESS>
<NAMEACCTHELD>Cindy P Williams</NAMEACCTHELD>
<ADDR1>123 Oak St</ADDR1>
<CITY>San Jose</CITY>
<STATE>CA</STATE>
<POSTALCODE>94111</POSTALCODE>
<COUNTRY>USA</COUNTRY>
<DAYPHONE>408-555-2323</DAYPHONE>
</PRESNAMEADDRESS>
<USERID>cindyid</USERID>
</PRESACCTTO>
</SVCADD>
<SVC>PRESSVC</SVC>
</ACCTRS>
</ACCTTRNRS>
</SIGNUPMSGSRSV1>
</OFX>
OFX 2.1.1 Specification 5695/1/06
14.8.4 Bill Delivery Examples
14.8.4.1 Customer Bill Delivery
The customer, Dan North, wants to see his bills since 3/1/99, which is the last time he asked to see his bills.
14.8.4.1.1 Customer Bill Delivery Request
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<PRESDLVMSGSRQV1>
<PRESLISTTRNRQ>
<TRNUID>12345</TRNUID>
<PRESLISTRQ>
<BILLPUB> ABillPublisher</BILLPUB>
<DTSTART>20050301000000</DTSTART><!--Get Dan's bills since 3/
1/05-->
<NOTIFYWILLING>Y</NOTIFYWILLING>
<INCLUDEDETAIL>Y</INCLUDEDETAIL>
</PRESLISTRQ>
</PRESLISTTRNRQ>
</PRESDLVMSGSRQV1>
</OFX>
14.8.4.1.2 Customer Bill Delivery Response
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<PRESDLVMSGSRSV1>
<PRESLISTTRNRS>
<TRNUID>12345</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY
</STATUS>
570 14.8 Bill Presentment Examples
<PRESLISTRS>
<BILLPUB>ABillPublisher</BILLPUB>
<USERID>MyUserID</USERID>
<DTSTART>20050301000000</DTSTART><!--Same as in request: no
data loss-->
<DTEND>20050409090000</DTEND>
<!--Value for DTSTART next time-->
<PRESLIST>
<PRESBILLINFO>
<BILLID>65432</BILLID>
<PRESACCTFROM>
<BILLPUB>ABillPublisher</BILLPUB>
<BILLERID>1001</BILLERID><!--Biller id for Power Inc-->
<ACCTID>1245678GL7</ACCTID><!--Dan North’s acct w/
Power Inc-->
</PRESACCTFROM>
<BILLREFINFO>1234678GL7970501</BILLREFINFO>
<AMTDUE>124.24</AMTDUE><!--Dan North to pay $124.24-->
<DTPMTDUE>20050501</DTPMTDUE><!--by 5/1/05 -->
<DTBILL>20050401</DTBILL>
<NOTIFYDESIRED>N</NOTIFYDESIRED>
<STMNTIMAGE>
<IMAGEURL>
https://www.Power.com/bills/apr/dannorth.htm?authtoken=65j3ltfm7
<DTEXPIRE>200504101200</DTEXPIRE>
<!--Must visit url by 4/10/05 12am-->
</STMNTIMAGE>
<BILLDETAILTABLE>
<TABLENAME>usage</TABLENAME>
<BILLDETAILTABLETYPE>x_Power_usage</BILLDETAILTABLETYPE>
<!--Power Inc format for usage-->
<BILLDETAILROW>
<C>elec</C><!--Consumable-->
<C>20050228</C>
<!--Date meter reading start of period-->
<C>65543</C>
<!--Meter reading at start of period-->
<C>20050328</C>
<!--Date meter reading end of period-->
<C>65643</C><!--Meter reading at end of
period-->
<C>100</C><!--Difference in meter readings-->
<C>KWH</C><!--Units-->
OFX 2.1.1 Specification 5715/1/06
<C>.8934</C><!--Rate (price per unit)-->
<C>89.34</C><!--Charge -->
</BILLDETAILROW>
<BILLDETAILROW>
<C>gas</C><!--Consumable -->
<C>20050226</C>
<!-Date meter reading start of
period-->
<C>509843</C>
<!--Meter reading at start of period-->
<C>20050327</C>
<!--Date meter reading end of period-->
<C>510843</C><!--Meter reading at end of
period->
<C>1000</C><!--Difference in meter readings -
->
<C>Therms</C><!--Units -->
<C>.02543</C><!--Rate (price per unit) -->
<C>25.43</C><!--Charge -->
</BILLDETAILROW>
</BILLDETAILTABLE>
</PRESBILLINFO>
<PRESBILLINFO>
<BILLID>65436</BILLID>
<PRESACCTFROM>
<BILLPUB>ABillPublisher</BILLPUB>
<BILLERID>2021</BILLERID>
<!--Biller id of FluteRental, Inc. -->
<ACCTID>8765XY95</ACCTID>
<!--Dan North’s account number -->
</PRESACCTFROM>
<BILLREFINFO>8765XY95970428</BILLREFINFO>
<AMTDUE>16.21</AMTDUE><!--Total to be paid -->
<DTPMTDUE>20050428</DTPMTDUE><!--by 4/28/05 -->
<DTBILL>20050408</DTBILL>
<NOTIFYDESIRED>N</NOTIFYDESIRED>
<STMNTIMAGE>
<IMAGEURL>
https://www.FluteRental.com/95rs3vlx/bill.asp</
IMAGEURL>
<DTEXPIRE>20050601</DTEXPIRE><!--Must visit url by
6/1/05-->
</STMNTIMAGE>
572 14.8 Bill Presentment Examples
<DETAILAVAILABLE>N</DETAILAVAILABLE><!--No structured
detail exists-->
</PRESBILLINFO>
</PRESLIST>
</PRESLISTRS>
</PRESLISTTRNRS>
</PRESDLVMSGSRSV1>
</OFX>
14.8.4.2 Bill Delivery for Customer Service Representative
This example assumes that Dan North calls Power Inc with a question about his power bill. Power's
customer service representative, Maria Smith, uses a similar application and a similar OFX request to see
the same bill that Dan sees.
14.8.4.2.1 Bill Delivery Request Example for a Customer Service Representative
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<PRESDLVMSGSRQV1>
<PRESLISTTRNRQ>
<TRNUID>23456/<TRNUID>
<USERID>MyUserID</USERID><!--Asks for Dan North’s bills -->
<PRESLISTRQ>
<BILLPUB> ABillPublisher</BILLPUB>
<DTSTART>20050330</DTSTART><!--Approximate date -->
<DTEND>2005040410</DTSTART><!--Approximate date -->
<NOTIFYWILLING>N</NOTIFYWILLING>
<INCLUDEDETAIL>Y</INDLUDEDETAIL>
</PRESLISTRQ>
</PRESLISTTRNRQ>
</PRESDLVMSGSRQV1>
</OFX>
14.8.4.2.2 Bill Delivery Response Example for a Customer Service Representative
The response from the server includes the Power Incorporated bill, but not the FluteRental bill. This is
because the server decides that Maria Smith’s credentials are good enough to see Dan North’s Power Inc
bill, but not good enough to see anything else.
OFX 2.1.1 Specification 5735/1/06
<OFX>
<SIGNONMSGSRSV1>
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<PRESDLVMSGSRSV1>
<PRESLISTTRNRS>
<TRNUID>23456</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<PRESLISTRS>
<BILLPUB>ABillPublisher</BILLPUB>
<USERID>MyUserID</USERID><!--Dan North’s userid, so Dan’s
bill-->
<DTSTART>20050328</DTSTART><!--Same as in request: no data
loss-->
<DTEND>20050409</DTEND><!--Same as in request-->
<PRESLIST>
<PRESBILLINFO>
<BILLID>65432</BILLID>
<PRESACCTFROM>
<BILLPUB>ABillPublisher</BILLPUB>
<BILLERID>1001</BILLERID><!--Biller id for Power Inc-->
<ACCTID>1245678GL7</ACCTID>
<!--Dan's account with Power Inc-->
<USERID>MyUserID</USERID><!--Dan North’s userid-->
</PRESACCTFROM>
<BILLREFINFO>1234678GL7970501</BILLREFINFO>
<AMTDUE>124.24</AMTDUE><!--Dan to pay $124.24-->
<DTPMTDUE>20050501</DTPMTDUE><!--by 5/1/05 -->
<DTBILL>20050401</DTBILL>
<NOTIFYDESIRED>N</NOTIFYDESIRED>
<STMNTIMAGE>
<IMAGEURL>https://www.Power.com/bills/apr/
dannorth.htm?authtoken=987ab6gr8y</IMAGEURL>
<DTEXPIRE>200504111200</DTEXPIRE>
<!--Must visit url by 4/11/05 12am-->
</STMNTIMAGE>
<BILLDETAILTABLE>
574 14.8 Bill Presentment Examples
<TABLENAME>usage</TABLENAME>
<BILLDETAILTABLETYPE>x_Power_usage</
BILLDETAILTABLETYPE> <!--Power Inc format for usage-->
<BILLDETAILROW>
<C>elec</C><!--Consumable-->
<C>20050228</C>
<!--Date meter reading start of period-->
<C>65543</C>
<!--Meter reading at start of period-->
<C>20050328</C>
<!--Date meter reading end of period-->
<C>65643</C>
<!--Meter reading at end of period-->
<C>100</C><!--Difference in meter readings-->
<C>KWH</C><!--Units-->
<C>.8934</C><!--Rate (price per unit)-->
<C>89.34</C><!--Charge-->
</BILLDETAILROW>
<BILLDETAILROW>
<C>gas</C><!--Consumable-->
<C>20050226</C>
<!--Date meter reading start of period-->
<C>509843</C>
<!--Meter reading at start of period-->
<C>20050327</C>
<!--Date meter reading end of period-->
<C>510843</C>
<!--Meter reading at end of period-->
<C>1000</C><!--Difference in meter readings-->
<C>Therms</C><!--Units-->
<C>.02543</C><!--Rate (price per unit)-->
<C>25.43</C><!--Charge-->
</BILLDETAILROW>
</BILLDETAILTABLE>
</PRESBILLINFO>
</PRESLIST>
</PRESLISTRS>
</PRESLISTTRNRS>
</PRESDLVMSGSRSV1>
</OFX>
OFX 2.1.1 Specification 5755/1/06
14.8.4.3 Bill Delivery for a Group of Users
In this example, Realtors Company downloads the phone bills for the employees’ office phones by asking
the bill publisher to see the bills for the group RealtorsEmployees. The composition of the group
RealtorsEmployees has been agreed upon between Realtors Company and the bill publisher; moreover, the
bill publisher has agreed to grant Realtors Company access rights to the RealtorsEmployees group. All this
took place outside of OFX.
14.8.4.3.1 Bill Delivery Request Example for a Group of Users
<OFX>
<SIGNONMSGSRQV1>
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<PRESDLVMSGSRQV1>
<PRESLISTTRNRQ>
<TRNUID>34567<TRNUID>
<GROUPID>RealtorsEmployees</GROUPID><!--Asks for Employee’s
phone bills-->
<PRESLISTRQ>
<BILLPUB> ABillPublisher</BILLPUB>
<DTSTART>20050430</DTSTART><!--since 4/30/2005-->
<NOTIFYWILLING>N</NOTIFYWILLING>
<INCLUDEDETAIL>Y</INCLUDEDETAIL>
</PRESLISTRQ>
</PRESLISTTRNRQ>
</PRESDLVMSGSRQV1>
</OFX>
14.8.4.3.2 Bill Delivery Response Example for a Group of Users
The response, not shown here, will include several bills each marked with its own <USERID>. The only
bills returned will be the employees’ phone bills for their office phones, since those bills are the only ones
to which Realtor Company has access rights.
576 14.8 Bill Presentment Examples
14.8.4.4 Group Account Information
This is an example of a client proxy system that is tracking changes to the accounts of a group of users.
14.8.4.4.1 Group Account Information Request
<OFX>
<SIGNONMSGSRQV1> <!--Signon Request->
<SONRQ> <!-- ...Sign on request. For a
complete example, see section
11.14.1-->
</SONRQ>
</SIGNONMSGSRQV1>
<PRESDLVMSGSRQV1> <!--Group Account Info Request-->
<PRESGRPACCTINFOTRNRQ>
<TRNUID>10001</TRNUID>
<GROUPID>AClientProxysCustomers</GROUPID>
<!--Predefined group of customers-->
<ACCTINFORQ>
<DTACCTUP>19990104</DTACCTUP><!--Last DTACCTUP received for
group-->
</ACCTINFORQ>
</PRESGRPACCTINFOTRNRQ>
</PRESDLVMSGSRQV1>
</OFX>
14.8.4.4.2 Group Account Information Response
<OFX>
<SIGNONMSGSRSV1> <!--Signon Response->
<SONRS> <!-- ...Sign on response. For a
complete example, see section
11.14.1-->
</SONRS>
</SIGNONMSGSRSV1>
<PRESDLVMSGSRSV1> <!--Group Account Info Response-->
<PRESGRPACCTINFOTRNRS>
<TRNUID>10001</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<ACCTINFORS>
<DTACCTUP>19990122092431</DTACCTUP>
<ACCTINFO>
OFX 2.1.1 Specification 5775/1/06
<PRESACCTINFO>
<PRESACCTFROM>
<BILLPUB>PUBLISHER, INC.</BILLPUB>
<BILLERID>415-552-9923</BILLERID>
<ACCTID>408-555-4342-M132</ACCTID>
<USERID>bygeorge</USERID>
<!--User from group with new status-->
</PRESACCTFROM>
<SVCSTATUS>ACTIVE</SVCSTATUS>
</PRESACCTINFO>
</ACCTINFO>
</ACCTINFORS>
<ACCTINFORS>
<DTACCTUP>19990123082423</DTACCTUP>
<ACCTINFO>
<PRESACCTINFO>
<PRESACCTFROM>
<BILLPUB>PUBLISHER, INC.</BILLPUB>
<BILLERID>415-552-9923</BILLERID>
<ACCTID>408-555-2341-U421</ACCTID>
<USERID>1324-42</USERID>
<!--User from group with new status-->
</PRESACCTFROM>
<SVCSTATUS>REJECTED</SVCSTATUS>
<REASON>ACCOUNT NOT FOUND</REASON>
<!--User supplied account with biller->
<!--didn’t match biller’s records-->
</PRESACCTINFO>
</ACCTINFO>
</ACCTINFORS>
</PRESGRPACCTINFOTRNRS>
</PRESDLVMSGSRSV1>
</OFX>
578 14.8 Bill Presentment Examples
OFX 2.1.1 Specification 5795/1/06
CHAPTER 15 IMAGES
15.1 Overview
As more financial services companies offer users access to information over the internet, paper statements
are being replaced with electronic statement images. Additionally, with the passing of federal law "Check
21", financial institutions now have an ability to truncate checks and convert them to images at the
originating institutions. Consequently, users may no longer receive cancelled checks, deposit tickets, and
monthly statements via regular mail.
OFX addresses a growing need for communicating images information in an electronic format by allowing
clients to request transaction and statement images as part of the statement and closing statement requests,
respectively. The server has several options available to support image download requests (see sections
15.2.1 through 15.2.3).
15.2 Image Download Options
This section describes the process of downloading images associated with statements and transactions,
beginning with requesting and receiving image identifier data, followed by retrieving the actual images.
The client requests image identifier data by sending an OFX statement download or closing request with
the tags <INCTRANIMG>Y or <INCSTMTIMG>Y, respectively. (The statement download and/or
closing requests are among those found in the Banking, Credit Card, Investments and/or Loan message
sets.) If an image is available, the server sends back one or more <IMAGEDATA> aggregates in the
response. (More than one <IMAGEDATA> aggregate might be returned for check images.) The
<IMAGEDATA> aggregate contains data necessary for retrieving the actual image. Each image is
represented by one <IMAGEDATA> aggregate. (See section
3.1.6.1 for a description of the
<IMAGEDATA> aggregate.)
The retrieval method used to get the actual image is dependent on the value of <IMAGEREFTYPE> in the
<IMAGEDATA> aggregate. These values are OPAQUE, URL or FORMURL and the corresponding
methods are described in sections 15.2.1, 15.2.2 and 15.2.3, below.
580 15.2 Image Download Options
15.2.1 Image Retrieval Method # 1: Reference Type OPAQUE
The <IMAGEDATA> aggregate returned by the server contains the information needed for retrieving an
image. One retrieval method is specified in the < IMAGEDATA> aggregate by the following OFX
Reference Type tag containing the value OPAQUE:
<IMAGEREFTYPE>OPAQUE
The OPAQUE moniker requires the client to send an OFX request to access an image. This request will be
in the form of a normal OFX request (complete with Signon) and includes an <IMAGERQ> request as
described in section 15.2.1.1. However, whereas the request file contains typical OFX syntax, the
successful response returned is in the form of raw bytes. If a failure condition occurs, the response should
be as described in Section 15.2.1.3.
15.2.1.1 OFX Image Request <IMAGERQ>
The client sends a single <IMAGERQ> request corresponding to each <IMAGEDATA> aggregate
associated with the OPAQUE moniker. Each <IMAGERQ> request must be sent in its own OFX request
file. Only one image is returned for each <IMAGERQ>, that is, for each OFX request file.
The <IMAGERQ> request must appear within the <IMAGETRNRQ> transaction wrapper.
Tag Description
<IMAGERQ>
Image request aggregate
<IMAGEREF>
Image identifier from <IMAGEDATA> aggregate, see section 3.1.6.1, A-1024
</IMAGERQ>
End of image request aggregate
15.2.1.2 OFX Image Response - Successful Response
The successful response to an OFX <IMAGERQ> request is a complete HTTP response followed by a
series of raw bytes. The HTTP response contains content-type set to a supported image type, e.g. image/
jpeg. The allowed types in the response are shown in the table below.
Type Description
image/jpeg
JPEG images
image/tiff
TIFF images
Application/pdf
PDF documents
image/png
PNG images
OFX 2.1.1 Specification 5815/1/06
15.2.1.3 OFX Image Response - Unsuccessful Response
An unsuccessful response to an OFX <IMAGERQ> request is a complete HTTP response followed by an
error string, “OFX-STATUS=XXXX”. The possible error status code values for OFX-STATUS are shown
in the table below.
Code Meaning
15000 Must change USERPASS (ERROR)
15500 Signon Invalid (ERROR)
15502 USERPASS Lockout (ERROR)
16510 Image not available yet; try again later (ERROR)
16511 Image expired (ERROR)
16512 Image Reference Identifier not found (ERROR)
16513 Image server is not available; try again later (ERROR)
Here is a typical unsuccessful response:
HTTP 1.0 200 OK HTTP headers
Content-Type: application/x-ofx
Content-Length: 20
OFX-STATUS=15500 OFX status
582 15.2 Image Download Options
15.2.2 Image Retrieval Method # 2: Reference Type URL
The <IMAGEDATA> aggregate returned by the server contains the information needed for retrieving an
image. One retrieval method is specified in the <IMAGEDATA> aggregate by the following OFX
Reference Type tag containing the value URL:
<IMAGEREFTYPE>URL
The URL moniker does not require the client to send an OFX request to access an image. Instead, the
client issues an HTTP request to the URL specified as the value of the <IMAGEREF> tag in the
<IMAGEDATA> aggregate. The client will then authenticate. Once this authentication takes place, the
image can be displayed.
OFX 2.1.1 Specification 5835/1/06
15.2.3 Image Retrieval Method # 3: Reference Type FORMURL
The <IMAGEDATA> aggregate returned by the server contains the information needed for retrieving an
image. One retrieval method is specified in the < IMAGEDATA> aggregate by the following OFX
Reference Type tag containing the value FORMURL:
<IMAGEREFTYPE>FORMURL
The FORMURL moniker does not require the client to send an OFX request to access an image. Instead,
the client issues an HTTP request, with encoded data specified in the URL retrieved from the
<IMAGEREF> tag in the <IMAGEDATA> aggregate. The image can then be displayed. See Section
15.2.3.1, below, for more information about the HTTP POST request.
15.2.3.1 HTTP POST Request
Clients use the HTTP POST command to send a request to the previously acquired URL for the desired
financial institution. The URL identifies a service on an FI server that can accept an image request and
produce a response.
The POST identifies the data as being of content-type application/x-www-form-urlencoded. The OFX
client will send a request using HTTP POST (over SSL) formatted as an HTML FORM. The form may
include financial institution identification, client application identification, user ID, password, and image
reference fields as shown in the table below.
<form name
="RequestOFXImages"
method="post">
Description
<input name="APPID">
ID of client application, A-5
<input name="APPVER">
Version of client application (6.00 encoded as 0600), N-4
<input name="ORG">
Organization defining this FI namespace, A-32
<input name="FID">
ID of the financial institution, A-32
<input name="USERID">
User website identification string, String–255
<input name="USERPASS">
User password on website, String-255
<input name="CRED2">
Secondary user website identification string, if required, String-255
<input name="CRED3">
Tertiary user website identification string, if required, String-255
<input name="IMAGEREF">
Unique identifier for the image, A-1024
Some web sites require more than the standard <USERID> <USERPASS> provided by OFX. This
specification includes optional secondary credentials <CRED2> and <CRED3> for financial institution
websites that require them. Special characters and spaces within the user ID or password will be encoded
using standard URL encoding.
584 15.3 Message Sets and Profile
15.3 Message Sets and Profile
The following tables show the OFX image transactions and their corresponding transaction wrappers for a
particular message set.
15.3.1 Image Message Set Request Messages
Message Set Message
<IMAGEMSGSRQV1>
IMAGETRNRQ
IMAGERQ
</IMAGEMSGSRQV1>
15.3.2 Image Message Set Response Messages
There are no standard OFX Image Message Set responses.
15.3.3 Image Message Set Profile
The following table shows the Image Message Set profile. Note that there is one URL associated with all
images, i.e. the <IMAGERQ> request is always sent to the same URL regardless of the message set the
image is associated with.
Tag Description
<IMAGEMSGSET>
Message set for images
<IMAGEMSGSETV1>
Version 1 of message set.
<MSGSETCORE>
Common message set core
</MSGSETCORE>
<DFLTIMAGEDELAY>
Default number of calendar days from <DTSERVER> (for statement images) or
<DTPOSTED> (for transaction images) when image will become available. If
not present, the value is presumed to be 0,
N-5
Can be overridden, for each image, by either <IMAGEDELAY> or
<DTIMAGEAVAIL> in the <IMAGEDATA> aggregate.
<DFLTIMAGETTL>
Number of calendar days the image will remain available on the host once the
image becomes available. If not present, the value is presumed to be
indefinitely,
N-5
Can be overridden, for each image, by <IMAGETTL> in the <IMAGEDATA>
aggregate.
OFX 2.1.1 Specification 5855/1/06
</IMAGEMSGSETV1>
</IMAGEMSGSET>
Tag Description
586 15.4 Examples
15.4 Examples
15.4.1 Transaction Image Example
This example represents a customer who requests a statement download for a checking account.
The request includes a request for transaction images. The response contains an updated balance for the
account, two transactions and image information for one of the transactions.
The first request file:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20050929101000.000[-4:EDT]</DTCLIENT>
<USERID>JSmith123</USERID>
<USERPASS>MyPassword</USERPASS>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>NCH</ORG>
<FID>1001</FID>
</FI>
<APPID>MyApp</APPID>
<APPVER>0500</APPVER>
</SONRQ>
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<STMTTRNRQ>
<TRNUID>1001</TRNUID>
<STMTRQ>
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>999988</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<INCTRAN>
<DTSTART>20050927090000.000[-4:EDT]</DTSTART>
<INCLUDE>Y</INCLUDE>
</INCTRAN>
<INCTRANIMG>Y</INCTRANIMG><!-- request transaction images -->
</STMTRQ>
</STMTTRNRQ>
</BANKMSGSRQV1>
OFX 2.1.1 Specification 5875/1/06
</OFX>
The first response file:
The response contains retrieval information for a check image.
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20050929101100.000[-4:EDT]</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
<FI>
<ORG>NCH</ORG>
<FID>1001</FID>
</FI>
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>1001</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<STMTRS>
<CURDEF>USD</CURDEF>
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>999988</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20050927090000.000[-4:EDT]</DTSTART>
<DTEND>20050929090000.000[-4:EDT]</DTEND>
<STMTTRN>
<TRNTYPE>CHECK</TRNTYPE>
<DTPOSTED>20050928090000.000[-4:EDT]</DTPOSTED>
<TRNAMT>-1000.00</TRNAMT>
<FITID>28</FITID>
<CHECKNUM>2010</CHECKNUM>
588 15.4 Examples
<IMAGEDATA><!-- front of check image -->
<IMAGETYPE>TRANSACTION</IMAGETYPE>
<IMAGEREF>11111</IMAGEREF>
<IMAGEREFTYPE>OPAQUE</IMAGEREFTYPE>
<CHECKSUP>FRONTONLY</CHECKSUP>
</IMAGEDATA>
<IMAGEDATA><!-- back of check image -->
<IMAGETYPE>TRANSACTION</IMAGETYPE>
<IMAGEREF>2222222222</IMAGEREF>
<IMAGEREFTYPE>OPAQUE</IMAGEREFTYPE>
<CHECKSUP>BACKONLY</CHECKSUP>
</IMAGEDATA>
</STMTTRN>
<STMTTRN>
<TRNTYPE>FEE</TRNTYPE>
<DTPOSTED>20050928090000.000[-5:EST]</DTPOSTED>
<TRNAMT>-7.55</TRNAMT>
<FITID>35</FITID>
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>58336.07</BALAMT>
<DTASOF>20050929101100.000[-4:EDT]</DTASOF>
</LEDGERBAL>
<AVAILBAL>
<BALAMT>58336.07</BALAMT>
<DTASOF>20050929101100.000[-4:EDT]</DTASOF>
</AVAILBAL>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV1>
</OFX>
The second request file:
Now the client requests the image using the information in the previous
response file. Since the server supports returning both front and back
of the check separately, two requests are sent by the client. The
following request asks for the front of the check.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
...
OFX 2.1.1 Specification 5895/1/06
</SONRQ>
</SIGNONMSGSRQV1>
<IMAGEMSGSRQV1>
<IMAGETRNRQ>
<TRNUID>145</TRNUID>
<IMAGERQ>
<IMAGEREF>11111</IMAGEREF>
</IMAGERQ>
</IMAGETRNRQ>
</IMAGEMSGSRQV1>
</OFX>
The second response file:
The response is a complete HTTP response with a content-type set to a
supported image type. The actual content, in the form of raw bytes, is
not displayed here.
The third request file:
The next request asks for the back of the check.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
...
</SONRQ>
</SIGNONMSGSRQV1>
<IMAGEMSGSRQV1>
<IMAGETRNRQ>
<TRNUID>146</TRNUID>
<IMAGERQ>
<IMAGEREF>2222222222</IMAGEREF>
</IMAGERQ>
</IMAGETRNRQ>
</IMAGEMSGSRQV1>
</OFX>
The third response file:
The response is a complete HTTP response with a content-type set to a
supported image type. The actual content, in the form of raw bytes, is
not displayed here.
590 15.4 Examples
15.4.2 Statement Closing Image Example
This example represents a customer who requests a closing statement for
a checking account. The request includes a request for a statement
image. The response contains closing information for the account plus
image information for that statement image. The image will be available
for 90 days.
The request file:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
...
</SONRQ>
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<STMTENDTRNRQ>
<TRNUID>1002</TRNUID>
<STMTENDRQ>
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>999987</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<INCSTMTIMG>Y</INCSTMTIMG>
</STMTENDRQ>
</STMTENDTRNRQ>
</BANKMSGSRQV1>
</OFX>
The response file:
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
...
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTENDTRNRS>
<TRNUID>1002</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
OFX 2.1.1 Specification 5915/1/06
<STMTENDRS>
<CURDEF>USD</CURDEF>
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>999987</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<CLOSING>
<FITID>2005-09-20 15:47:40.76</FITID>
<DTCLOSE>20050920154740.760[-4:EDT]</DTCLOSE>
<BALCLOSE>336.07</BALCLOSE>
<DTPOSTSTART>20050101000000.000[-5:EST]</DTPOSTSTART>
<DTPOSTEND>20050920000000.000[-4:EDT]</DTPOSTEND>
<IMAGEDATA>
<IMAGETYPE>STATEMENT</IMAGETYPE>
<IMAGEREF>4448444</IMAGEREF>
<IMAGEREFTYPE>OPAQUE</IMAGEREFTYPE>
<IMAGETTL>90</IMAGETTL>
</IMAGEDATA>
</CLOSING>
</STMTENDRS>
</STMTENDTRNRS>
</BANKMSGSRSV1>
</OFX>
The request file:
Now the client requests the image using the information in the response
file.
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
...
</SONRQ>
</SIGNONMSGSRQV1>
<IMAGEMSGSRQV1>
<IMAGETRNRQ>
<TRNUID>99887</TRNUID>
<IMAGERQ>
<IMAGEREF>4448444</IMAGEREF>
</IMAGERQ>
</IMAGETRNRQ>
592 15.4 Examples
</IMAGEMSGSRQV1>
</OFX>
The response file:
The response is a complete HTTP response with a content-type set to a
supported image type. The actual content, in the form of raw bytes, is
not displayed here.
OFX 2.1.1 Specification 5935/1/06
15.4.3 Transaction FORMURL Example
The following shows the FORMURL method of image retrieval, assuming the
initial OFX response contains <IMAGEREFTYPE>FORMURL</IMAGEREFTYPE>.
The request file:
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
...
</SONRQ>
</SIGNONMSGSRQV1>
<BANKMSGSRQV1>
<STMTENDTRNRQ>
<TRNUID>1002</TRNUID>
<STMTENDRQ>
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>999987</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<INCSTMTIMG>Y</INCSTMTIMG>
</STMTENDRQ>
</STMTENDTRNRQ>
</BANKMSGSRQV1>
</OFX>
The response file:
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
...
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTENDTRNRS>
<TRNUID>1002</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<STMTENDRS>
<CURDEF>USD</CURDEF>
594 15.4 Examples
<BANKACCTFROM>
<BANKID>121099999</BANKID>
<ACCTID>999987</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<CLOSING>
<FITID>2005-09-20 15:47:40.76</FITID>
<DTCLOSE>20050920154740.760[-4:EDT]</DTCLOSE>
<BALCLOSE>336.07</BALCLOSE>
<DTPOSTSTART>20050101000000.000[-5:EST]</DTPOSTSTART>
<DTPOSTEND>20050920000000.000[-4:EDT]</DTPOSTEND>
<IMAGEDATA>
<IMAGETYPE>STATEMENT</IMAGETYPE>
<IMAGEREF>11111</IMAGEREF>
<IMAGEREFTYPE>FORMURL</IMAGEREFTYPE>
<IMAGETTL>90</IMAGETTL>
</IMAGEDATA>
</CLOSING>
</STMTENDRS>
</STMTENDTRNRS>
</BANKMSGSRSV1>
</OFX>
The request file:
Now the client requests the image with HTTP content-type set to
application/x-www-form-urlencoded.
<form name="RequestOFXImages" method="post">
APPID=MyOFXApp&APPVER=0600&ORG=NCH&FID=1100&USERID=MyID&USERPASS=My$ec
retPwd&IMAGEREF=11111
</form>
Successful response:
The response is a complete HTTP response.
Unsuccessful response to same request that fails because the image is
not available yet:
OFX-STATUS=16510
OFX 2.1.1 Specification 5955/1/06
15.4.4 Profile Request and Response Showing Image Support
The following shows a profile request and response that shows support for banking, credit cards, loans,
and images for these message sets.
The following are OFX fragments; the missing OFX is covered in other request/response examples. (For
readability, the end tags for element tags are not shown.)
Request:
<PROFMSGSRQV1>
<PROFTRNRQ>
<TRNUID>974495445
<PROFRQ>
<CLIENTROUTING>MSGSET
<DTPROFUP>20021107103100.000[-5:EST]
</PROFRQ>
</PROFTRNRQ>
</PROFMSGSRQV1>
Response:
<PROFMSGSRSV1>
<PROFTRNRS>
<TRNUID>974495445
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<PROFRS>
<MSGSETLIST>
<SIGNONMSGSET><SIGNONMSGSETV1>
<MSGSETCORE>...</MSGSETCORE>
</SIGNONMSGSETV1></SIGNONMSGSET>
<BANKMSGSET><BANKMSGSETV1>
<MSGSETCORE>...</MSGSETCORE>
<CLOSINGAVAIL>Y
<XFERPROF>
...
</XFERPROF>
<EMAILPROF>
...
</EMAILPROF>
596 15.4 Examples
<IMAGEPROF>
<CLOSINGIMGAVAIL>Y
<TRANIMGAVAIL>Y
</IMAGEPROF>
</BANKMSGSETV1></BANKMSGSET>
<CREDITCARDMSGSET><CREDITCARDMSGSETV1>
<MSGSETCORE>...</MSGSETCORE>
<CLOSINGAVAIL>Y
<IMAGEPROF>
<CLOSINGIMGAVAIL>Y
<TRANIMGAVAIL>N <!-- Not supported for CCs -->
</IMAGEPROF>
</CREDITCARDMSGSETV1></CREDITCARDMSGSET>
<LOANMSGSET><LOANMSGSETV1>
<MSGSETCORE>
...
</MSGSETCORE>
<TRANDNLD>Y
<CLOSINGAVAIL>Y
<AMRTAVAIL>Y
<CANEMAIL>N
<IMAGEPROF>
<CLOSINGIMGAVAIL>Y
<TRANIMGAVAIL>Y
</IMAGEPROF>
</LOANMSGSET></LOANMSGSETV1>
<IMAGEMSGSET><IMAGEMSGSETV1>
<MSGSETCORE>...</MSGSETCORE>
<DFLTIMAGETTL>90 <!-- Image will be available for 90 days -->
</IMAGEMSGSETV1></IMAGEMSGSET>
<PROFMSGSET>
...
</PROFMSGSET>
</MSGSETLIST>
<SIGNONINFOLIST>
...
</SIGNONINFOLIST>
</PROFTRNRS>
</PROFMSGSRSV1>
</OFX>
OFX 2.1.1 Specification 5975/1/06
598 15.4 Examples
OFX 2.1.1 Specification 5995/1/06
CHAPTER 16 AUTOMATIC 1-WAY OFX
In support of extending the work already developed on financial institution web sites to download OFX
formatted statement data, OFX provides a standard for OFX clients to request this data from a web site on
behalf of customers.
16.1 RequestOFX Form
The following table outlines the components of the HTTP form request. Tags in bold are required.
<form name
="RequestOFX"
method="post">
Description
<input name="APPID">
ID of client application, A-5
<input name="APPVER">
Version of client application (6.00 encoded as 0600), N-4
<input name="ORG">
Organization defining this FI namespace, A-32
<input name="FID">
ID of the financial institution, A-32
<input name="USERID">
User website identification string, String–255
<input name="USERPASS">
User password on website, String-255
<input name="CRED2">
Secondary user website identification string, if required, String-255
<input name="CRED3">
Tertiary user website identification string, if required, String-255
<CLIENTUID>
Unique ID identifying OFX client, A-36
<MFA_XXX>
0 or more MFA Challenge Question answers. The tag name must correspond to
the MFAPHRASEID in the last received MFACHALLENGERS.
<input name="DTSTART">
Start date of statement requested using ISO 8601 standard YYYY-MM-DD, e.g.
2005-07-16
<input name="DTEND">
End date of statement requested using ISO 8601 standard YYYY-MM-DD, e.g.
2005-07-16
<input name="INCTRAN">
Include-transaction aggregate
If value = Y, website should include the following in the OFX formatted file
when available:
<BANKTRANLIST> in <STMTRS>
<BANKTRANLIST> in <CCSTMTRS>
<INVTRANLIST> in <INVSTMTRS>
<LOANTRANLIST> in <LOANSTMTRS>
<AMRTTRANLIST> in <AMRSTMTRS>
600 16.1 RequestOFX Form
16.1.1 User Credentials <USERID>, <USERPASS>, <CRED2>,
<CRED3>, <CLIENTUID>
Some web sites require more than the standard <USERID/<USERPASS> provided by OFX. This
specification includes optional secondary credentials <CRED2> and <CRED3> for financial institution
websites that require them. Special characters and spaces within the user ID or password will be encoded
using standard URL encoding.
Additionally, some web sites require a <CLIENTUID> tag. This tag should be a value unique to the client
installation.
16.1.2 Challenge Question Answers
Some web sites require more than the information provided in the User Credential tags. In order to
facilitate Multi-Factor Authentication, OFX provides a way for the web site to respond to an OFX request
with a series of challenge questions. This response is indicated by a status code of 3000.
<input name="INCTRANIMG">
If value = Y, website should include transaction images, if available.
<input name="INCPOS">
Include-investment positions aggregate
If value = Y, website should include the following in the OFX formatted file
when available:
<INVPOSLIST> in <INVSTMTRS>
<input name="INCBAL">
Include-investment balance aggregate
If value = Y, website should include the following in the OFX formatted file
when available:
<INVBAL> in <INVSTMTRS>
<input name="ACCTID">
Account number (0 or 1), A-22
<input name="ACCTTYPE">
General type of account (enumeration). If present, ACCTID must also be
present. Choose one of the following:
CHECKING
SAVINGS
MNYMARKET
CREDITLINE
CREDITCRD
INVESTMENT
RETIREMENT
<form name
="RequestOFX"
method="post">
Description
OFX 2.1.1 Specification 6015/1/06
The tag names for the challenge question answers are constructed from the <MFAPHRASEID>s of the
associated challenge questions. For example, if one of the challenge questions has an <MFAPHRASEID>
of MFA_8, the tag name should be <MFA_8>.
16.1.3 Date Start and Date End <DTSTART>, <DTEND>
Clients use these tags in requests to indicate the range of response desired. Websites use these tags in
responses to let clients know what the FI was able to produce.
In requests, the following rules apply:
If <DTSTART> is absent, the client is requesting all available history (up to the <DTEND>, if
specified). Otherwise, it indicates the inclusive date and time in history where the client expects
servers to start sending information.
If <DTEND> is absent, the client is requesting all available history (starting from <DTSTART>, if
specified). Otherwise, it indicates the exclusive date and time in history where the client expects
servers to stop sending information.
In responses, the following rules apply:
The financial institution website may choose to ignore the requested date range and use whatever it
deems appropriate as a default date range.
If the website normally provides statement data in monthly blocks, the website should return the most
recent data if <DTSTART> is not received.
If no data is available for the given time frame, the website should return "OFX-STATUS=0" in the
HTTP response. Refer to section 16.2.2.
16.1.3.1 Date and Time Issues
The form request sends the date without any time value. The website should interpret the date as it applies
on their website.
16.1.4 Include Flags <INCTRAN>, <INCPOS>, <INCBAL>
The client may indicate the type of data desired in the request. The website should respond with only the
requested data, when possible. However, if the website is not able to return the exact combination of data
requested, the financial insitutiton may choose to return what it deems appropriate.
16.1.5 Account ID <ACCTID>
The <ACCTID> value is the account ID of the account being requested. For credit unions, customers often
have one main account number, and each account has a suffix that differentiates it. If known, the client
should send the complete account number, including any suffix or prefix.
602 16.1 RequestOFX Form
The client will send zero or one <ACCTID> tag.
If the client includes the <ACCTID> tag in the Form request, the website should interpret this as a
request for statement data for an account with only this account ID.
If the client does not include the <ACCTID> tag, the client is requesting statement data for all accounts
associated with this <USERID> available via <OFX> download from the website.
If the website is unable to compile an OFX response for more than one account, the website should
respond to the request for multiple data with an “OFX-STATUS = 15509” in the HTTP response. Refer
to section 16.2.2.
16.1.5.1 Unrecognized Account IDs
Upon receipt of a request for a statement for an invalid account, the website should respond to the request
with an "OFX-STATUS=2003" in the HTTP response.
16.1.6 Account Type <ACCTTYPE>
An account type value may be sent by the client to disambiguate two accounts that have the same account
ID, or simply to clarify the request. Clients sending <ACCTTYPE> must include <ACCTID> in the
request.
The website should ignore this value if it does not coincide with the account type on record, if possible.
Otherwise, it may respond to the request with an "OFX-STATUS = 2003" in the HTTP response. Refer to
section 16.2.2.
OFX 2.1.1 Specification 6035/1/06
16.2 HTTP Form Response
16.2.1 Response to RequestOFX Form
Data returned by way of HTTP follows the standard HTTP 1.0 specification. Place the standard HTTP
result code on the first line. HTTP defines a number of status codes. Servers can return any standard
HTTP result, including the following suggested values.
Code Meaning Action
200 OK The request was processed and a valid Open Financial Exchange result is
returned.
400s Bad request The request was invalid and was not processed. Clients will report an internal
error to the user.
500s Server error The server is unavailable. Clients should advise the user to retry shortly.
Open Financial Exchange requires the following HTTP standard headers in the response returned
by the website:
Code Value Explanation
Content-
type
application/x-
ofx
The MIME type for Open Financial Exchange
Content-
length
length Length (given in bytes) of the data after removing HTTP headers
Having authenticated the request, the website responds with an OFX download, just as if the customer had
manually entered the request on the site.
Here is a typical successful response:
HTTP 1.0 200 OK HTTP headers
Content-Type: application/x-ofx
Content-Length: 8732
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<OFX>
... Open Financial Exchange response following the OFX specification...
</OFX>
604 16.2 HTTP Form Response
16.2.2 Status Responses
If the financial institution website recognizes the request, but is unable to return an OFX response for some
reason, the website should respond to the HTTP request with a complete HTTP response including an
error, "OFX-STATUS=XXXX", indicating the appropriate status. Status codes are discussed further in
appropriate sections of Chapter 2.
Enumerated values for OFX-STATUS:
Code Meaning
0 Success (INFO) - Return this when there is no
statement available for the specified
timeframe.
2000 General error (ERROR)
2003 Account not found (ERROR)
3000 User credentials are correct, but further
authentication is needed (ERROR)
15500 Signon invalid (ERROR)
15501 Customer account already in use (ERROR)
15502 USERPASS lockout (ERROR)
15509 Multiple accounts not supported (ERROR)
15511 User should contact financial institution
(ERROR)
Here is a typical unsuccessful response:
HTTP 1.0 200 OK HTTP headers
Content-Type: application/x-ofx
Content-Length: 17
OFX-STATUS=15500 OFX status
16.2.3 Challenge Response
If the user credentials supplied on the original request are correct but not sufficient to authenticate the user,
servers may respond with a status code of 3000. When the status code of 3000 is sent, the server must also
include an <MFACHALLENGERS> (see Section
2.5.4.2) containing questions for the user to answer.
OFX 2.1.1 Specification 6055/1/06
16.3 Automatic 1-Way URL
In order to make it simpler for OFX clients to take advantage of the new automatic 1-way capabilities of
financial institution websites, financial institution may choose to use the suggested common URL format
for automatic 1-way requests: https://websiteurl.com/ofx.XXX, where “websiteurl” is the homepage of the
financial institution website and “XXX” would be the type of page required by the financial institution
web site. Examples page types could include, but are not limited to, the following: .cgi, .asp, .aspx, .jsp,
and html. Environmental variables may be included at the end of the specified URL, but should be static.
16.4 Redirection and Cookies
Some FIs may be set up to implement the authentication on one server and then redirect the client to
another URL for the actual web application. In such solutions, the redirection carries a proof of
authentication token (either on the URL or in a cookie) so that the web application can validate that the
user has been successfully authenticated.
To support such solutions, Automatic 1-way OFX clients need to handle redirection and cookies just like a
generic web browser would.
It is up to the FI, however, to include the details of the 1-way OFX request together with the proof of
authentication token to the application site where the request is processed and the response is generated.
The client only knows about the initial URL where the authentication happens. If the processing needs to
be done on a different URL, the client does support redirection and cookies but it does not post the request
details again to the redirect target URL.
Clients use the HTTP POST command to send a request to the previously acquired URL for the desired
financial institution. The URL presumably identifies a Common Gateway Interface (CGI) or other process
on an FI server that can accept an Automatic 1-Way OFX request and produce a response.
The POST identifies the data as being of type application/x-www-form-urlencoded. The OFX client will
send a request using HTTP POST (over SSL) formatted as an HTML FORM. The form includes client
application identification, user ID, password, date range, and account ID fields. When sending the request,
the client should omit fields with NULL values.
The following are examples of request and response pairs using this new format. For simplicity, the HTTP
Headers are left out of these examples. Responses are indented for readability.
606 16.5 Examples
16.5 Examples
For readability purposes, end tags for element tags are not shown in the following examples.
16.5.1 Example - Failed Multiple Statements Request
This is an example where the request does not include an <ACCTID>. The website responds with an
"OFX-STATUS=15509" indicating that it is unable to return multiple accounts. The client should
thereafter send requests for one account at a time.
16.5.1.1 Request
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&INCTRAN=Y
16.5.1.2 Response
OFX-STATUS=15509
16.5.2 Example - MFA Challenge Response
This is an example where the server requires the client to answer <MFACHALLENGERS> questions.
16.5.2.1 Request
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&INCTRAN=Y
16.5.2.2 Response
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>3000</CODE>
<SEVERITY>ERROR</SEVERITY>
</STATUS>
<DTSERVER>20050831165153.000[-8:PST]</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
</SONRS>
<MFACHALLENGETRNRS>
<MFACHALLENGERS>
<MFACHALLENGE>
<MFAPHRASEID>MFA_4</MFAPHRASEID>
OFX 2.1.1 Specification 6075/1/06
<MFAPHRASELABEL>Father’s middle name</MFAPHRASELABEL>
</MFACHALLENGE>
<MFACHALLENGE>
<MFAPHRASEID>MFA_12</MFAPHRASEID>
<MFAPHRASELABEL>Last four digits of your home phone number</
MFAPHRASELABEL>
</MFACHALLENGE>
<MFACHALLENGE>
<MFAPHRASEID>MFA_18</MFAPHRASEID>
<MFAPHRASELABEL>Name of the company where you had your first
job</MFAPHRASELABEL>
</MFACHALLENGE>
</MFACHALLENGE>
</MFACHALLENGETRNRS>
</SIGNONMSGSRSV1>
</OFX>
16.5.2.3 Request 2
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&DTSTART=200
4-08-01&DTEND=2004-08-31&INCTRAN=Y&MFA_4=William&MFA_12=1234&MFA_18=Acme
16.5.2.4 Response 2
OFX-Status=0
16.5.3 Banking and Credit Card Statements
This is an example request asking for statement information from August 1 to August 31, 2005 for all
accounts. The customer has a checking, savings, and credit card account, but the savings account has no
data within the given timeframe. The financial institution downloads statements in OFX 2.1.1 format and
does not return any statements for accounts that have no data within the specified period.
In this example, end tags are omitted for readability purposes.
16.5.3.1 Request
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&DTSTART=20
05-08-01&DTEND=2005-08-31&INCTRAN=Y
16.5.3.2 Response
<?xml version="1.0" encoding="USASCII"?>
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
608 16.5 Examples
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20050831165153.000[-8:PST]</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>0</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<STMTRS>
<CURDEF>USD</CURDEF>
<BANKACCTFROM>
<BANKID>000000123</BANKID>
<ACCTID>123456</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20050801</DTSTART>
<DTEND>20050831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>POS</TRNTYPE>
<DTPOSTED>20050824080000</DTPOSTED>
<TRNAMT>-80</TRNAMT>
<FITID>219378</FITID>
<NAME>FrogKick Scuba Gear</NAME>
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>2156.56</BALAMT>
<DTASOF>20050831165153</DTASOF>
</LEDGERBAL>
</STMTRS>
</STMTTRNRS>
OFX 2.1.1 Specification 6095/1/06
</BANKMSGSRSV1>
<CREDITCARDMSGSRSV1>
<CCSTMTTRNRS>
<TRNUID>0</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<CCSTMTRS>
<CURDEF>USD</CURDEF>
<CCACCTFROM>
<ACCTID>123412341234</ACCTID>
</CCACCTFROM>
<BANKTRANLIST>
<DTSTART>20050801</DTSTART>
<DTEND>20050831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>INT</TRNTYPE>
<DTPOSTED>20050811080000</DTPOSTED>
<TRNAMT>-23.00</TRNAMT>
<FITID>219867</FITID>
<NAME>Interest Charge</NAME>
</STMTTRN>
<STMTTRN>
<TRNTYPE>CREDIT</TRNTYPE>
<DTPOSTED>20050811080000</DTPOSTED>
<TRNAMT>350.00</TRNAMT>
<FITID>219868</FITID>
<NAME>Payment - Thank You</NAME>
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>-562.00</BALAMT>
<DTASOF>20050831165153</DTASOF>
</LEDGERBAL>
</CCSTMTRS>
</CCSTMTTRNRS>
</CREDITCARDMSGSRSV1>
</OFX>
16.5.3.3 Request 2
610 16.5 Examples
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&DTSTART=20
5-08-01&DTEND=20050831&INCTRAN=Y&MFA_4=William&MFA_12=1234&MFA_18=Acme
16.5.3.4 Response 2
<?xml version="1.0" encoding="US-ASCII"?>
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20050831165153.000[-8:PST]</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>0</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<STMTRS>
<CURDEF>USD</CURDEF>
<BANKACCTFROM>
<BANKID>000000123</BANKID>
<ACCTID>123456</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20040801</DTSTART>
<DTEND>20050831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>POS</TRNTYPE>
<DTPOSTED>20050824080000</DTPOSTED>
<TRNAMT>-80</TRNAMT>
<FITID>219378</FITID>
<NAME>FrogKick Scuba Gear</NAME>
OFX 2.1.1 Specification 6115/1/06
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>2156.56</BALAMT>
<DTASOF>20050831165153</DTASOF>
</LEDGERBAL>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV1>
<CREDITCARDMSGSRSV1>
<CCSTMTTRNRS>
<TRNUID>0</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<CCSTMTRS>
<CURDEF>USD</CURDEF>
<CCACCTFROM>
<ACCTID>123412341234</ACCTID>
</CCACCTFROM>
<BANKTRANLIST>
<DTSTART>20050801</DTSTART>
<DTEND>20050831165153.000[-8:PST]</DTEND>
<STMTTRN>
<TRNTYPE>INT</TRNTYPE>
<DTPOSTED>20050811080000</DTPOSTED>
<TRNAMT>-23.00</TRNAMT>
<FITID>219867</FITID>
<NAME>Interest Charge</NAME>
</STMTTRN>
<STMTTRN>
<TRNTYPE>CREDIT</TRNTYPE>
<DTPOSTED>20050811080000</DTPOSTED>
<TRNAMT>350.00</TRNAMT>
<FITID>219868</FITID>
<NAME>Payment - Thank You</NAME>
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>-562.00</BALAMT>
<DTASOF>20050831165153</DTASOF>
612 16.5 Examples
</LEDGERBAL>
</CCSTMTRS>
</CCSTMTTRNRS>
</CREDITCARDMSGSRSV1>
</OFX>
16.5.4 Example - Banking Accounts with Multiple Accounts and
Ampersand in Password
This is a request for all statement data for all accounts since January 1, 2005. In this case, the customers
password contains an ampersand, Dog44&Cat22. The ampersand is URL encoded in the HTTP Form
request.
The user has both a checking and a savings account. The financial institution website only provides
statements for the last 30 days, but does return empty statements. The response is shown in OFX 1.0.2
format.
16.5.4.1 Request
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=Dog44%26Cat22&DTSTART=
2005-01-01&INCTRAN=Y
16.5.4.2 Response
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<DTSERVER>20050831165056.000[-8:PST]
<LANGUAGE>ENG
OFX 2.1.1 Specification 6135/1/06
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>0
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<STMTRS>
<CURDEF>USD
<BANKACCTFROM>
<BANKID>000000123
<ACCTID>123456
<ACCTTYPE>CHECKING
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20050801
<DTEND>20050831165056.000[-8:PST]
<STMTTRN>
<TRNTYPE>PAYMENT
<DTPOSTED>20050824080000
<TRNAMT>-80.32
<FITID>219378
<CHECKNUM>1044
<NAME>FrogKick Scuba Gear
</STMTTRN>
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>2156.56
<DTASOF>20050831165056
</LEDGERBAL>
</STMTRS>
</STMTTRNRS>
<STMTTRNRS>
<TRNUID>0
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<STMTRS>
<CURDEF>USD
614 16.5 Examples
<BANKACCTFROM>
<BANKID>000000123
<ACCTID>654321
<ACCTTYPE>SAVINGS
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20050801
<DTEND>20050831165056.000[-8:PST]
</BANKTRANLIST>
<LEDGERBAL>
<BALAMT>3452.00
<DTASOF>20050831165056
</LEDGERBAL>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV1>
</OFX>
16.5.5 Example - Banking, Balance only
This is a request for current balance information only for a user who only has one line of credit account
with the financial institution. This financial institution website provides LEDGERBAL, AVAILBAL and
BALLIST aggregates. The response is returned in OFX 2.1.1 format.
16.5.5.1 Request
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&ACCTID=123
456-90
16.5.5.2 Response
<?xml version="1.0" encoding="USASCII"?>
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<DTSERVER>20050831165153.000[-8:PST]</DTSERVER>
<LANGUAGE>ENG</LANGUAGE>
OFX 2.1.1 Specification 6155/1/06
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>0</TRNUID>
<STATUS>
<CODE>0</CODE>
<SEVERITY>INFO</SEVERITY>
</STATUS>
<STMTRS>
<CURDEF>USD</CURDEF>
<BANKACCTFROM>
<BANKID>000000123</BANKID>
<ACCTID>123456-90</ACCTID>
<ACCTTYPE>CREDITLINE</ACCTTYPE>
</BANKACCTFROM>
<LEDGERBAL>
<BALAMT>-4367.00</BALAMT>
<DTASOF>20050831165153</DTASOF>
</LEDGERBAL>
<AVAILBAL>
<BALAMT>5633.00</BALAMT>
<DTASOF>20050831165153</DTASOF>
</AVAILBAL>
<BALLIST>
<BAL>
<NAME>Interest</NAME>
<DESC> Interest Year To Date</DESC>
<BALTYPE>DOLLAR</BALTYPE>
<VALUE>117.89</VALUE>
<DTASOF>20050831165153</DTASOF>
</BAL>
</BALLIST>
</STMTRS>
</STMTTRNRS>
</BANKMSGSRSV1>
</OFX>
616 16.5 Examples
16.5.6 Investment Statement, Balances and Positions
This is a request for statement, positions and balances for one investment account. The financial institution
site requires that their customers log in with an extra User ID; their primary account ID. The response is
returned in OFX 1.0.2 format.
16.5.6.1 Request
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&CRED2=125673
4&DTSTART=20050801&DTEND=20050831&INCTRAN=Y&INCPOS=Y&INCBAL=Y&ACCTID=1
256734
16.5.6.2 Response
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<DTSERVER>20050831165324.000[-8:PST]
<LANGUAGE>ENG
</SONRS>
</SIGNONMSGSRSV1>
<INVSTMTMSGSRSV1>
<INVSTMTTRNRS>
<TRNUID>0
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<INVSTMTRS>
OFX 2.1.1 Specification 6175/1/06
<DTASOF>20050831165324.000[-8:PST]
<CURDEF>USD
<INVACCTFROM>
<BROKERID>Broker Site
<ACCTID>1256734
</INVACCTFROM>
<INVTRANLIST>
<DTSTART>20050801
<DTEND>20050831
<BUYMF>
<INVBUY>
<INVTRAN>
<FITID>40025098199608029240
<DTTRADE>20050802
<MEMO>MONEY MARKET FUND
</INVTRAN>
<SECID>
<UNIQUEID>808515100
<UNIQUEIDTYPE>CUSIP
</SECID>
<UNITS>120.00
<UNITPRICE>1.0000
<COMMISSION>0.00
<TOTAL>-120.00
<SUBACCTSEC>CASH
<SUBACCTFUND>CASH
</INVBUY>
<BUYTYPE>BUY
</BUYMF>
</INVTRANLIST>
<INVPOSLIST>
<POSMF>
<INVPOS>
<SECID>
<UNIQUEID>808515100
<UNIQUEIDTYPE>CUSIP
</SECID>
<HELDINACCT>OTHER
<POSTYPE>LONG
<UNITS>1560.18
<UNITPRICE>1
<MKTVAL>156.18
618 16.5 Examples
<DTPRICEASOF>20050831
<MEMO>MONEY MARKET FUND
</INVPOS>
</POSMF>
</INVPOSLIST>
<INVBAL>
<AVAILCASH>370.87
<MARGINBALANCE>0.00
<SHORTBALANCE>0.00
</INVBAL>
</INVSTMTRS>
</INVSTMTTRNRS>
</INVSTMTMSGSRSV1>
<SECLISTMSGSRSV1>
<SECLIST>
<MFINFO>
<SECINFO>
<SECID>
<UNIQUEID>808515100
<UNIQUEIDTYPE>CUSIP
</SECID>
<SECNAME>MONEY MARKET FUND
<TICKER>SWMXX
</SECINFO>
<MFTYPE>OPENEND
</MFINFO>
</SECLIST>
</SECLISTMSGSRSV1>
</OFX>
16.5.6.3 Example - Investment Positions and Balances Only
This is a request for positions and balances only for an investment account. For clarify, the client specifies
that this is a retirement account. The response is returned in OFX 2.1.1 format.
16.5.6.4 Request
APPID=MyOFXApp&APPVER=0600&USERID=MyID&USERPASS=My$ecretPwd&INCPOS=Y&
INCBAL=Y&ACCTID=12679356&ACCTTYPE=RETIREMENT
16.5.6.5 Response
<?xml version="1.0" encoding="USASCII"?>
<?OFX OFXHEADER="200" VERSION="211" SECURITY="NONE" OLDFILEUID="NONE"
NEWFILEUID="NONE"?>
OFX 2.1.1 Specification 6195/1/06
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<DTSERVER>20050831165324.000[-8:PST]
<LANGUAGE>ENG
</SONRS>
</SIGNONMSGSRSV1>
<INVSTMTMSGSRSV1>
<INVSTMTTRNRS>
<TRNUID>0
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<INVSTMTRS>
<DTASOF>20050831165324.000[-8:PST]
<CURDEF>USD
<INVACCTFROM>
<BROKERID>Broker Site
<ACCTID>1256734
</INVACCTFROM>
<INVTRANLIST>
<DTSTART>20050101
<DTEND>20050831165324.000[-8:PST]
<BUYMF>
<INVBUY>
<INVTRAN>
<FITID>40025098199608029240
<DTTRADE>20030802
<MEMO>MONEY MARKET FUND
</INVTRAN>
<SECID>
<UNIQUEID>808515100
<UNIQUEIDTYPE>CUSIP
</SECID>
<UNITS>120.00
<UNITPRICE>1.0000
620 16.5 Examples
<COMMISSION>0.00
<TOTAL>-120.00
<SUBACCTSEC>CASH
<SUBACCTFUND>CASH
</INVBUY>
<BUYTYPE>BUY
</BUYMF>
</INVTRANLIST>
<INVPOSLIST>
<POSMF>
<INVPOS>
<SECID>
<UNIQUEID>808515100
<UNIQUEIDTYPE>CUSIP
</SECID>
<HELDINACCT>OTHER
<POSTYPE>LONG
<UNITS>1560.18
<UNITPRICE>1
<MKTVAL>156.18
<DTPRICEASOF>20050831
<MEMO>MONEY MARKET FUND
</INVPOS>
</POSMF>
</INVPOSLIST>
<INVBAL>
<AVAILCASH>370.87
<MARGINBALANCE>0.00
<SHORTBALANCE>0.00
</INVBAL>
</INVSTMTRS>
</INVSTMTTRNRS>
</INVSTMTMSGSRSV1>
<SECLISTMSGSRSV1>
<SECLIST>
<MFINFO>
<SECINFO>
<SECID>
<UNIQUEID>808515100
<UNIQUEIDTYPE>CUSIP
</SECID>
<SECNAME>MONEY MARKET FUND
OFX 2.1.1 Specification 6215/1/06
<TICKER>SWMXX
</SECINFO>
<MFTYPE>OPENEND
</MFINFO>
</SECLIST>
</SECLISTMSGSRSV1>
</OFX>
622 16.5 Examples
OFX 2.1.1 Specification 6235/1/06
APPENDIX A STATUS CODES
The following table provides a complete list of the status codes that can be returned by a server. For each
status code, the table includes the following information:
Number of the status code
Meaning of the status code
Conditions under which a server must return the status code
Note: If a server must send an unsupported message to an earlier client, it should include a
<MESSAGE> element describing the general error.
Code Meaning Condition
Code Meaning Condition
0 Success (INFO) The server successfully processed the
request.
1 Client is up-to-date (INFO) Based on the client timestamp, the client has
the latest information. The response does not
supply any additional information.
2000 General error (ERROR) Error other than those specified by the
remaining error codes.
Note: Servers should provide a more
specific error whenever possible. Error code
2000 should be reserved for cases in which a
more specific code is not available.
2001 Invalid account (ERROR)
2002 General account error (ERROR) Account error not specified by the remaining
error codes.
2003 Account not found (ERROR) The specified account number does not
correspond to one of the user’s accounts.
2004 Account closed (ERROR) The specified account number corresponds to
an account that has been closed.
2005 Account not authorized
(ERROR)
The user is not authorized to perform this
action on the account, or the server does not
allow this type of action to be performed on
the account.
2006 Source account not found
(ERROR)
The specified account number does not
correspond to one of the user’s accounts.
2007 Source account closed (ERROR) The specified account number corresponds to
an account that has been closed.
624
2008 Source account not authorized
(ERROR)
The user is not authorized to perform this
action on the account, or the server does not
allow this type of action to be performed on
the account.
2009 Destination account not found
(ERROR)
The specified account number does not
correspond to one of the user’s accounts.
2010 Destination account closed
(ERROR)
The specified account number corresponds to
an account that has been closed.
2011 Destination account not
authorized (ERROR)
The user is not authorized to perform this
action on the account, or the server does not
allow this type of action to be performed on
the account.
2012 Invalid amount (ERROR) The specified amount is not valid for this
action; for example, the user specified a
negative payment amount.
2014 Date too soon (ERROR) The server cannot process the requested
action by the date specified by the user.
2015 Date too far in future (ERROR) The server cannot accept requests for an
action that far in the future.
2016 Transaction already committed
(ERROR)
Transaction has entered the processing loop
and cannot be modified/cancelled using OFX.
The transaction may still be cancelled or
modified using other means (for example, a
phone call to Customer Service).
2017 Already canceled (ERROR) The transaction cannot be canceled or
modified because it has already been
canceled.
2018 Unknown server ID (ERROR) The specified server ID does not exist or no
longer exists.
2019 Duplicate request (ERROR) A request with this <TRNUID> has already
been received and processed.
2020 Invalid date (ERROR) The specified datetime stamp cannot be
parsed; for instance, the datetime stamp
specifies 25:00 hours.
2021 Unsupported version (ERROR) The server does not support the requested
version. The version of the message set
specified by the client is not supported by this
server.
2022 Invalid TAN (ERROR) The server was unable to validate the TAN
sent in the request.
Code Meaning Condition
OFX 2.1.1 Specification 6255/1/06
2023 Unknown FITID (ERROR)
[BILLID not found (ERROR) in
the billing message sets]
The specified FITID/BILLID does not exist
or no longer exists.
2025 Branch ID missing (ERROR) A <BRANCHID> value must be provided in
the <BANKACCTFROM> aggregate for this
country system, but this field is missing.
2026 Bank name doesn’t match bank
ID (ERROR)
The value of <BANKNAME> in the
<EXTBANKACCTTO> aggregate is
inconsistent with the value of <BANKID> in
the <BANKACCTTO> aggregate.
2027 Invalid date range (ERROR) Response for non-overlapping dates, date
ranges in the future, et cetera.
2028 Requested element unknown
(WARNING)
One or more elements of the request were not
recognized by the server or the server (as
noted in the FI Profile) does not support the
elements. The server executed the element
transactions it understood and supported. For
example, the request file included private tags
in a <PMTRQ> but the server was able to
execute the rest of the request.
3000 MFA Challenge authentication
required (ERROR)
User credentials are correct, but further
authentication required. Client should send
<MFACHALLENGERQ>.
3001 MFA Challenge authentication
invalid (ERROR)
<MFACHALLENGEA> contains invalid
information.
6500 <REJECTIFMISSING>Y
invalid without <TOKEN>
(ERROR)
This error code may appear in the
<SYNCERROR> element of an
<xxxSYNCRS> wrapper (in
<PRESDLVMSGSRSV1> and V2 message
set responses) or the <CODE> contained in
any embedded transaction wrappers within a
sync response. The corresponding sync
request wrapper included
<REJECTIFMISSING>Y with
<REFRESH>Y or <TOKENONLY>Y, which
is illegal.
6501 Embedded transactions in
request failed to process: Out of
date (WARNING)
<REJECTIFMISSING>Y and embedded
transactions appeared in the request sync
wrapper and the provided <TOKEN> was out
of date. This code should be used in the
<SYNCERROR> of the response sync
wrapper.
Code Meaning Condition
626
6502 Unable to process embedded
transaction due to out-of-date
<TOKEN> (ERROR)
Used in response transaction wrapper for
embedded transactions when
<SYNCERROR>6501 appears in the
surrounding sync wrapper.
10000 Stop check in process (INFO) Stop check is already in process.
10500 Too many checks to process
(ERROR)
The stop-payment request <STPCHKRQ>
specifies too many checks.
10501 Invalid payee (ERROR) Payee error not specified by the remaining
error codes.
10502 Invalid payee address (ERROR) Some portion of the payee’s address is
incorrect or unknown.
10503 Invalid payee account number
(ERROR)
The account number <PAYACCT> of the
requested payee is invalid.
10504 Insufficient funds (ERROR) The server cannot process the request
because the specified account does not have
enough funds.
10505 Cannot modify element
(ERROR)
The server does not allow modifications to
one or more values in a modification request.
10506 Cannot modify source account
(ERROR)
Reserved for future use.
10507 Cannot modify destination
account (ERROR)
Reserved for future use.
10508 Invalid frequency (ERROR) The specified frequency <FREQ> does not
match one of the accepted frequencies for
recurring transactions.
10509 Model already canceled
(ERROR)
The server has already canceled the specified
recurring model.
10510 Invalid payee ID (ERROR) The specified payee ID does not exist or no
longer exists.
10511 Invalid payee city (ERROR) The specified city is incorrect or unknown.
10512 Invalid payee state (ERROR) The specified state is incorrect or unknown.
10513 Invalid payee postal code
(ERROR)
The specified postal code is incorrect or
unknown.
10514 Transaction already processed
(ERROR)
Transaction has already been sent or date due
is past
10515 Payee not modifiable by client
(ERROR)
The server does not allow clients to change
payee information.
Code Meaning Condition
OFX 2.1.1 Specification 6275/1/06
10516 Wire beneficiary invalid
(ERROR)
The specified wire beneficiary does not exist
or no longer exists.
10517 Invalid payee name (ERROR) The server does not recognize the specified
payee name.
10518 Unknown model ID (ERROR) The specified model ID does not exist or no
longer exists.
10519 Invalid payee list ID (ERROR) The specified payee list ID does not exist or
no longer exists.
10600 Table type not found (ERROR) The specified table type is not recognized or
does not exist.
12250 Investment transaction download
not supported (WARN)
The server does not support investment
transaction download.
12251 Investment position download
not supported (WARN)
The server does not support investment
position download.
12252 Investment positions for
specified date not available
(WARN)
The server does not support investment
positions for the specified date.
12253 Investment open order download
not supported (WARN)
The server does not support open order
download.
12254 Investment balances download
not supported (WARN)
The server does not support investment
balances download.
12255 401(k) not available for this
account (ERROR)
401(k) information requested from a non-
401(k) account.
12500 One or more securities not found
(ERROR)
The server could not find the requested
securities.
13000 User ID & password will be sent
out-of-band (INFO)
The server will send the user ID and
password via postal mail, e-mail, or another
means. The accompanying message will
provide details.
13500 Unable to enroll user (ERROR) The server could not enroll the user.
13501 User already enrolled (ERROR) The server has already enrolled the user.
13502 Invalid service (ERROR) The server does not support the service
<SVC> specified in the service-activation
request.
13503 Cannot change user information
(ERROR)
The server does not support the
<CHGUSERINFORQ> request.
Code Meaning Condition
628
13504 <FI> Missing or Invalid in
<SONRQ> (ERROR)
The FI requires the client to provide the <FI>
aggregate in the <SONRQ> request, but
either none was provided, or the one provided
was invalid.
14500 1099 forms not available
(ERROR)
1099 forms are not yet available for the tax
year requested.
14501 1099 forms not available for user
ID (ERROR)
This user does not have any 1099 forms
available.
14600 W2 forms not available
(ERROR)
W2 forms are not yet available for the tax
year requested.
14601 W2 forms not available for user
ID (ERROR)
The user does not have any W2 forms
available.
14700 1098 forms not available
(ERROR)
1098 forms are not yet available for the tax
year requested.
14701 1098 forms not available for user
ID (ERROR)
The user does not have any 1098 forms
available.
15000 Must change USERPASS
(INFO)
The user must change his or her
<USERPASS> number as part of the next
OFX request.
15500 Signon invalid (ERROR) The user cannot signon because he or she
entered an invalid user ID or password.
15501 Customer account already in use
(ERROR)
The server allows only one connection at a
time, and another user is already signed on.
Please try again later.
15502 USERPASS lockout (ERROR) The server has received too many failed
signon attempts for this user. Please call the
FI’s technical support number.
15503 Could not change USERPASS
(ERROR)
The server does not support the <PINCHRQ>
request.
15504 Could not provide random data
(ERROR)
The server could not generate random data as
requested by the <CHALLENGERQ>.
15505 Country system not supported
(ERROR)
The server does not support the country
specified in the <COUNTRY> field of the
<SONRQ> aggregate.
15506 Empty signon not supported
(ERROR)
The server does not support signons not
accompanied by some other transaction.
15507 Signon invalid without
supporting pin change request
(ERROR)
The OFX block associated with the signon
does not contain a pin change request and
should.
Code Meaning Condition
OFX 2.1.1 Specification 6295/1/06
15508 Transaction not authorized.
(ERROR)
Current user is not authorized to perform this
action on behalf of the <USERID>.
15509 Multiple accounts not supported
(ERROR)
1-Way server does not support returning
multiple accounts in response.
15510 CLIENT UID invalid (ERROR) CLIENTUID error. User must register the
Client UID.
15511 User contact required (ERROR) User should contact financial institution
15512 <AUTHTOKEN> required
(ERROR)
User needs to contact financial institution to
obtain AUTHTOKEN. Client should send it
in the next request.
15513 <AUTHTOKEN> invalid
(ERROR)
<AUTHTOKEN> sent in signon request was
invalid
16500 HTML not allowed (ERROR) The server does not accept HTML formatting
in the request.
16501 Unknown mail To: (ERROR) The server was unable to send mail to the
specified Internet address.
16502 Invalid URL (ERROR) The server could not parse the URL.
16503 Unable to get URL (ERROR) The server was unable to retrieve the
information at this URL (e.g., an HTTP 400
or 500 series error).
16510 Image not available yet
(ERROR)
The image is not available yet; try again later.
16511 Image Expired (ERROR) The image was available, but is no longer
available (has expired).
16512 IMAGEREF not found
(ERROR)
Image Reference Identifier not found
16513 Image server not available
(ERROR)
Image server is not available; try again later
Code Meaning Condition
630
OFX 2.1.1 Specification 6315/1/06
APPENDIX B SUGGESTED NAME VALUES FOR THE
BANKING <BALLIST>
Suggested values for the <NAME> and <DESC> fields of the <BAL> aggregates used in bank and credit
card statement download are shown below. Of course any values may be used in these fields; however, to
promote consistency, it is suggested that these strings be used when applicable. This list will be expanded
to cover as many unique different balance types as necessary
B.1 Usage Field Values
The Usage field contains abbreviations for the type of account each balance should be applied to. The
values can be as follows:
Account
Type
Abbreviation
Credit Card CC
Checking CH
Savings SA
Loan /
Mortgage /
Credit Line
LMC
TD / CD TD
B.2 Name and Description Table
Note: In the table below the <NAME> values are currently the same as the <DESC> values.
Ideally the <NAME> value should be as descriptive as possible while staying within the 32
character limit. If a longer string needs to be conveyed to the user to describe the type of
balance, the longer <DESC> field should be used.
<NAME> Values <DESC> Values Usage
Amount Deposited This Month Amount Deposited This Month CH, SA, LMC, CD
Amount Overpaid Amount Overpaid CC
Amount Withdrawn This Month Amount Withdrawn This Month CH, SA, LMC
Available Credit Amount Available Credit Amount CC, CH, LMC
Available Credit Financing Available Credit Financing CC
Available Credit Installment Available Credit Installment CC
632 B.2 Name and Description Table
Available Instant Cash Available Instant Cash CH
Cash Advance Amount Cash Advance Amount CC
Cash Outstanding Cash Outstanding CC
Commission Fee Commission Fee LMC
Credit Line Amount Credit Line Amount CC, CH, LMC
Credit Line Financing Credit Line Financing CC
Credit Line Installment Credit Line Installment CC
Credit Line Used Credit Line Used CC, LMC
Current Statement Balance Current Statement Balance CC
Deposit Year To Date Deposit Year To Date CH, SA, TD
Deposits Last Year Deposits Last Year CH, SA, TD
Equivalent Principal Amount Equivalent Principal Amount SA, TD
Federal Tax Federal Tax CH, SA, TD
Interest Due Amount Interest Due Amount LMC, TD
Interest Earned This Period Interest Earned This Period CH, SA
Interest Paid Last Year Interest Paid Last Year CH, SA
Interest Paid Year To Date Interest Paid Year To Date CH, SA, TD
Interest Penalty Amount Interest Penalty Amount LMC
Interest Since Last Statement Interest Since Last Statement LMC
Interest Value at Maturity Interest Value at Maturity TD
Last Bill Balance Last Bill Balance CC
Last Deposit Amount Last Deposit Amount CH, SA, TD
Late Charges Late Charges LMC
Latest Payment Amount Latest Payment Amount CC, LMC
Maturity Value Maturity Value SA, TD
Minimum Amount Due Minimum Amount Due CC, LMC
Monthly Payment Monthly Payment SA, LMC
Net To Close Amount Net To Close Amount LMC
Next Payment Amount Next Payment Amount CC, LMC
Next Payment Credit Life Next Payment Credit Life LMC
<NAME> Values <DESC> Values Usage
OFX 2.1.1 Specification 6335/1/06
Next Payment Escrow Next Payment Escrow LMC
Next Payment Principal Next Payment Principal LMC
New Charges New Charges CC
New Payments Or Credits New Payments Or Credits CC
Notice Amount Notice Amount SA
Oldest Installment Due Amount Oldest Installment Due Amount LMC
Original Principal Amount Original Principal Amount SA, LMC, TD
Overdraft Coverage Used Overdraft Coverage Used CH, SA, LMC
Overdraft Limit Overdraft Limit CH, SA
Paid Principal Paid Principal LMC
Past Due Amount Past Due Amount CC, LMC
Pending Credits Pending Credits CH, SA
Pending Debits Pending Debits CH, SA
Previous Statement Balance Previous Statement Balance CC
Total Amount Due Now Total Amount Due Now CC, LMC
Total Amount Owed Total Amount Owed CC, LMC
Total Available Balance Total Available Balance CH
Total Security Value Total Security Value LMC
Total To Date Interest Total To Date Interest CH, SA, LMC, TD
Unbilled Charges Unbilled Charges CC
Unbilled Loan Amount Unbilled Loan Amount CC
Uncollected Amount Uncollected Amount LMC
Unpaid Balance Unpaid Balance CC, CH, LMC
Unpaid Principal Unpaid Principal LMC
<NAME> Values <DESC> Values Usage
634 B.2 Name and Description Table
OFX 2.1.1 Specification 6355/1/06
APPENDIX C CHANGE HISTORY
C.1 OFX 1.6 to 2.0
This appendix describes the revisions made to Open Financial Exchange that occurred between version 1.6
and version 2.0. Major changes include:
1) The Data Formatting standard has changed from that of SGML to XML.
2) V2 message sets have been removed.
3) 401(k) support has been added to Investments.
4) A new Tax OFX Addendum which adds support for 1099 and W2 download has been added and is
available separately bound from this document.
Note that some detailed changes are not shown below if they are part of one of the changes above and thus
are identified that way. 401(k) changes have been itemized in full, however.
C.1.1 Specification Changes by Chapter
Location Subject Change Type Change
Global SGML->XML Change The Data Formatting standard has changed from
that of SGML to XML.
Global End tags required Change Ends tags are now required. All examples were
changed as well as textual references to end tags.
Global Header changed Change The OFX header has changed from that of an
SGML-type header to a standard XML declaration
syntax. Examples were changed as appropriate.
Global V2 eliminated Change V2 tags and message sets have been eliminated.
<SRVRTID2>, <TOKEN2>, <MESSAGE2> and
<URL2> are among those tags that have been
deleted.
Global "1.6 add" tags eliminated Change All "1.6 add" tags were eliminated except those in
the bill presentment message set and
<REFRESHSUPT> in <MSGSETCORE>
2.3 Special character handling Change Special characters are predefined in XML.
3.1.2.1 Handling of user values Clarification This section was rewritten to clarify rules for
handling user values by a client or server.
636 C.1 OFX 1.6 to 2.0
6.4 Token and
Synchronization
Summary
Addition New section added to clarify rules for token and
synchronization handling.
11.7 Immediate Transfers Clarification Clarified handling of immediate transfers which are
batched and done that night or next day.
11.12.2 INTRASYNCRQ/S Addition CCACCTFROM aggregate added
11.12.3 INTERSYNCRQ/S Addition CCACCTFROM aggregate added
11.12.5 RECINTRASYNCRQ/S Addition CCACCTFROM aggregate added
11.12.6 RECINTERSYNCRQ/S Addition CCACCTFROM aggregate added
12.2.2 scope of PAYEELSTID Clarification Clarified handling of PAYEELSTID scoping
12.9.2.1 <PAYEEMODRQ> Change Optional tag <MODPENDING> was removed.
12.9.2.2 <PAYEEMODRS> Change Optional tag <MODPENDING> was removed.
13.3.3 change to signage rules Change PENALTY, WITHHOLDING and
STATEWITHHOLDING were added to list of
elements affecting signage of units and totals.
13.6.3.1 New 401(k) section Addition Entitled "401(k) Accounts"
13.6.3.2 New section on download
detail
Addition Entitled, "Note on Downloading Positions and
Transaction Detail for Investment Accounts"
13.7.1.1 New profile tag Addition New tag <INV401KDNLD>
13.8.4 SECLIST return info Clarification better description of when to return <SECLIST>
13.9.1.2 new <INVSTMTRQ> tags Addition <INC401K> and <INC401KBAL>
13.9.2.2 New <INVSTMTRS>
aggregates
Addition <INV401K> and <INV401KBAL>
13.9.2.4 New elements added to
verbiage on transactions
Addition PENALTY, WITHHOLDING and
STATEWITHOLDING included in text
13.9.2.4 New elements added to
computation of total
Addition PENALTY, WITHHOLDING and
STATEWITHOLDING included in text
13.9.2.4.2 New elements added Addition DTPAYROLL, INV401KSOURCE,
LOANINTEREST, LOANID, LOANPRINCIPAL,
PENALTY, PRIORYEARCONTRIB,
STATEWITHHOLDING
13.9.2.4.2 Total description changed Change calculation changed
13.9.2.4.2 WITHHOLDING
description changed
Change Indicates that this element is for federal taxes only.
13.9.2.4.3 401(k) verbiage added Addition Describes funding loans or other withdrawals
Location Subject Change Type Change
OFX 2.1.1 Specification 6375/1/06
13.9.2.4.3 Some elements added Change New elements added to INVBUY and INVSELL
13.9.2.4.4 New element added Change <INV401KSOURCE> added to INCOME,
INVEXPENSE, REINVEST, RETOFCAP, SPLIT
and TRANSFER aggregates
13.9.2.6.1 New element added Change <INV401KSOURCE> added to INVPOS aggregate
13.9.2.7 </BAL> no longer bolded Correction Corrected mismatch between beginning/ending tags
13.9.2.8 New section Addition Entitled, "401(k) Balances <INV401KBAL>"
13.9.2.9 Status code added to table Addition Error status code 12255 added
13.9.3 New section Addition Entitled "401(k) Account Information"
13.11 New section (example) Addition Entitled "Complete 401(k) Example"
Appendix
A
Status code 12254 Addition Investment Balances Download not supported
(WARN)
Appendix
A
Status code 14500 Addition 1099 forms not available (ERROR)
Appendix
A
Status code 14501 Addition 1099 forms not available for user ID (ERROR)
Appendix
A
Status code 14600 Addition W2 forms not available (ERROR)
Appendix
A
Status code 14601 Addition W2 forms not available for user ID (ERROR)
Location Subject Change Type Change
638 C.2 OFX 2.0 to 2.0.1
C.2 OFX 2.0 to 2.0.1
This appendix describes the revisions made to Open Financial Exchange that occurred between version 2.0
and version 2.0.1. Major changes include:
1) Reversals to investments transactions.
2) Extended balance information in banking and credit card statements.
3) Bill publisher information in payments.
OFX 2.1.1 Specification 6395/1/06
C.2.1 Specification Changes by Chapter
Section Subject
Change
Type
Change
2.2 file format Correction Changed wording to not require separate
lines for headers and also to make some
xml declaration items optional
2.5.2 pin change and error recovery Clarification Paragraph 3 (regarding status code
15000) clarified
3.2.9.2 signage in amounts correction/
clarification
Added explanatory text for when
amounts are signed and how
3.2.9.2 investment reversals Deletion Removed sentences referring to how to
do investment reversals since
REVERSALFITID is now a reversal
option in investments.
6.6.1 <LOSTSYNC> Correction Changed <LOSTSYNC>N to
<LOSTSYNC>Y in 3 places.
6.10.2 Lite Synch Clarification Reworded because confusing
6.10.2.1 Lite Synch and Older Clients/
Servers
Clarification Reworded because confusing
8.8 Signup profile information Clarification Slight change to clarify what is required
in the Signup profile response.
10.3.1 models and sync behavior Addition New section clarifying proper behavior
for models
11.4.1
11.4.2
13.9.1.2
statement download request
(banking, credit cards and
investments)
Clarification Clarification to second paragraph: what
to do if transactions are requested and
none are available.
11.4.1.2
11.4.2.2
statement response aggregate Addition,
DTD Change
Added <BALLIST> to <STMTRS> and
<CCSTMTRS>.
11.4.3 <SRVRTID> in <STMTTRN> Clarification The use of <SRVRTID> in
<STMTTRN> was clarified
11.7 immediate transfers Clarification Immediate transfers should appear in the
sync if error recovery is not supported.
11.7.2.2 <INTRAMODRS> introduction Correction Servers may, but are not required to,
notify clients of changes in transfer
status.
11.13.1 Message Sets and Messages Clarification Fixed format of tables to be clearer.
640 C.2 OFX 2.0 to 2.0.1
11.14.1 Example Correction The <FI> aggregate was added to the
signon response.
11.14.4 Example Correction The <SRVRTID> value in a
<RECINTRARS> was changed to be
the same as the <RECSRVRTID>.
12.2.2 shared accounts Clarification More verbiage about shared accounts
and <PAYEELSTID>s
12.3 shared accounts Clarification More verbiage about shared accounts
and <PAYEELSTID>s
12.5.2 removed sentence from paragraph 1 Correction It implied that <PAYEE> or
<PAYEEID> is optional when one of the
other is required.
12.5.2 new tag in <PMTINFO> aggregate Addition,
DTD change
Added <BILLPUBINFO> aggregate.
12.9.1.2 <PAYEERS> Clarification/
Correction
Paragraph 2: corrected
(<PAYEELSTID> changed to
<PAYEEID>) + small clarification
12.11.1 Message Sets and Messages Clarification Fixed format of table to be clearer.
12.11.2 bill pay profile Addition,
Correction (no
DTD change)
Added <DIFFLASTPMT> tag to profile
12.11.2 bill pay profile Addition,
DTD change
Added <BILLPUBCONTEXT> to
profile
12.11.2 bill pay profile Clarification: The use of <PROCENDTM> in the
profile was clarified.
12.12 bill pay examples Corrections fixed some bugs in bill pay examples
13.7.1.2 Message Sets and Messages Clarification Fixed format of table to be clearer.
13.7.2.2 Message Sets and Messages Clarification Fixed format of table to be clearer.
13.3.3 Signs Clarification,
Deletion
Deleted section where it talks about how
to do reversals since REVERSALFITID
is included as an option now.
13.9.2.4.1 another reversal option added Addition,
DTD change
Added <REVERSALFITID> to
<INVTRAN>
13.9.2.4.1.1 investment reversals Addition New section: Transaction Reversals
13.9.2.4.4 correction to tables Correction "<INV401KSOURCE aggregate" was
changed to "<INV401KSOURCE>"
since it is not an aggregate.
Section Subject
Change
Type
Change
OFX 2.1.1 Specification 6415/1/06
13.9.2.6.1 <DTPRICEASOF> clarification Correction Removed text that said this datetime
value could be zero if unknown.
14.7.1.2 Message Sets and Messages Clarification Fixed format of table to be clearer.
Appendix A Added error codes Addition 14700 and 14701 (for 1098 tax)
Appendix B New Appendix Addition Suggested banking <BALLIST> values
Appendix
C, "Diff.
Between
OFX 1.6
and 2.0"
Added <CCACCTFROM> change Correction In OFX 2.0, CCACCTFROM was added
to all transfer sync RQ/RS’s but this was
mistakenly left out of the 1.6 -> 2.0
change appendix.
Section Subject
Change
Type
Change
642 C.3 OFX 2.0.1 to 2.0.2
C.3 OFX 2.0.1 to 2.0.2
C.3.1 Specification Changes by Chapter
Section Subject
Change
Type
Change
2.4.6.1 Tag ordering fixed Correction <STATUS> and <CLTCOOKIE> were
transposed in the "typical response"
2.4.6.1 Text unbolded Correction The text "Response aggregate" was
unbolded in the "typical response" since
a response aggregate is not required
3.2.2 Joint Accounts Clarification Clarified that <SRVRTID>s should be
unique across users of joint accounts
3.2.7 <DTSTART>/<DTEND> usage Clarification Clarified the meaning of <DTSTART>
and <DTEND>
3.2.8.1 Timezone name not required Clarification Clarification that timezone name is not
required in a timezone
3.2.8.2 Example added Addition Example added to clarify difference
between date and datetime in
<DTSTART>, <DTEND>
6.4.3 Addition to table of synchronizable
types
Addition Added LOANSYNCRQ/S to table
7.2 Typo Correction Word in <SIGNONINFO> description
changed from "profile" to "provide"
9.4.2 New tables Addition Requests/Responses and transaction
wrapper tables added
12.7.3.3 Addition to Status Code Table Addition 2017 ("Already Cancelled") added to
<RECPMTCANCRS> table
12.11.2 <PMTBYPAYEEID> verbiage
fixed
Correction Changed words "user supplied" to
"server supplied"
12.11.2 <STSVIAMODS> type missing Correction Added Boolean
13.3.3 Signage in investment transactions Addition Sentence changed to clarify signage of
<UNITS> and <TOTAL>
13.6.3.2 Note on downloading positions and
transaction detail
Correction The Note in this section was changed to
refer to all accounts, not just 401K
accounts
OFX 2.1.1 Specification 6435/1/06
C.3.2 DTD Changes
These are the corrections to the DTD files to ensure that the DTD files match the specification. They are
corrections only and so do not constitute changes to the standard itself. The changes are:
1) The spelling of ANUALLY was changed to ANNUALLY.
2) ANUALLY was changed to ANNUAL and SEMIANNUALLY was changed to SEMIANNUAL in the
COUPONFREQ enumeration type
.
3) The ordering of tags INV401KDNLDand CANEMAIL was reversed; CANEMAIL should come first.
13.9.2.4.1.1 Removed sentence Deletion Removed a sentence because
MARGININTEREST should be
reversed using INVBANKTRAN, not
INVEXPENSE (since there is no
security involved)
13.9.2.5.1 <OO><UNITS> type change Correction Changed to Quantity
13.9.2.6.1 Value of <DTPRICEASOF> Clarification If this date is unknown, use 19900101 as
the placeholder; do not use 0
13.11 Signage of <TOTAL> in examples Correction Changed the signage of <TOTAL> from
positive to negative for <BUYSTOCK>
and <BUYMF> aggregates
13.11 Closing tag fixed in example Correction A closing tag for <DTSTART> was
changed to </DTSTART>
14.7.3 <CANUPDATEPRESNAMEADD
RESS> type missing
Correction Added Boolean
Section Subject
Change
Type
Change
644 C.4 OFX 2.0.2 to 2.1
C.4 OFX 2.0.2 to 2.1
This appendix describes the revisions made to Open Financial Exchange that occurred between version
2.0.2 and version 2.1. Major changes include:
1) The addition of Loan statement, closing, and amortization schedule download plus loan email
2) The addition of image download in banking, credit card, investment and loan message sets (new
chapter).
3) The addition of Automatic 1-Way OFX functionality (new chapter).
4) Addition of investment closing request/response to facilitate image download of closing statement in
Investment Message Set.
OFX 2.1.1 Specification 6455/1/06
C.4.1 Specification Changes by Chapter
Section Subject Change Type Change
Global OFX header Change OFX header: value of VERSION changed
from "202" to "210" throughout
Global Using Social Security
Number as UserID
Change Removed references to SSN from examples
and text to discourage use of SSNs for
identification purposes.
Global Dates in examples Change An attempt was made to update examples with
more recent dates (specifically, year 2005).
1.1.1 Added references to loans,
images and 1-Way OFX
Addition Added 3 bullets under Broad Range of
Financial Activities
1.1.1 Changed wording Change Removed OS-specific references in Platform
Independent
bullet
1.2.3 Automatic 1-Way OFX Addition New section to discuss 1-Way OFX
1.4 OFX Versions Addition Added reference to OFX 2.1
2.2.2 VERSION Change Updated this section for 2.1
2.4.5.2,
2.4.5.3,
2.8.4
New Message sets Addition Added references to Loan and Image message
sets
2.5.1,
2.5.1.1
Using SSNs for UserID/
Password
Addition Added verbiage to discourage Financial
Institutions from using Social Security
Number for Customer ID or PIN/Password.
3.1.6 New Images section Addition Added new common aggregates
<IMAGEDATA> and <IMAGEPROF>
6.4.3 Synchronizable objects table Addition Added <LOANMAILSYNCRQ/S>
7.1.1.1 New Section Addition Profile Support for Downloading Images
8.4.1 Using SSNs for UserID/
password
Addition Verbiage added to discourage Financial
Institutions from using Social Security
Number for Customer ID or PIN/Password.
8.4.2 Certain tags unbolded Change Some <ENROLLRQ> tags changed to
optional
8.5 <DTACCTUP> in requests Clarification Clarified rules around value of
<DTACCTUP> in <ACCTINFORQ>
9.2.5.1 Correction (typo) Correction Changed <MSGBODY>> to <MSGBODY>
11.1.1 Loan Data Addition Loan data paragraph added
646 C.4 OFX 2.0.2 to 2.1
11.3.5 Changes to <XFERINFO>
aggregate
Addition Added <LOANACCTFROM>,
<LOANACCTTO> and <LOANTRNAMT>
to <XFERINFO>. New verbiage after table.
11.3.7 -
11.3.9
New Sections for Loan
definitions
Addition <LOANACCTFROM>,
<LOANACCTINFO>, etc. (all loan related)
11.4.1 Added verbiage about image
download of transactions
Addition Paragraph added at end of section
11.4.1.1 New tag in <STMTRQ> Addition Added <INCTRANIMG> to <STMTRQ>
11.4.3 New tag and aggregate in
<STMTTRN>
Addition Added <EXTDNAME> and <IMAGEDATA>
to <STMTTRN>
11.4.4 -
11.4.6
New sections for Loan Stmt
Download
Addition <LOANSTMTRQ>, <LOANSTMTTRN>,
etc. added
11.5 Added verbiage about image
download of statements
Addition Paragraph added at end of section
11.5.1.1 New tag in
<STMTENDRQ>
Addition Added <INCSTMTIMG>
11.5.2 New aggregate in
<CLOSING>
Addition Added <IMAGEDATA>
11.5.3 New tag in
<CCSTMTENDRQ>
Addition Added <INCSTMTIMG>
11.5.4.2 New aggregate in
<CCCLOSING>
Addition Added <IMAGEDATA>
11.5.5 -
11.5.8
New sections for Loan Stmt
Closing
Addition <LOANSTMTENDRQ> and related
aggregates added
11.11.4 New section for Loan e-mail Addition <LOANMAILRQ> and related aggregates
11.12.2,
11.12.3
Added LOANACCTFROM Addition Added LOANACCTFROM to all transfer
sync requests/responses
11.12.2
11.12.3.2
11.12.5.2
What transfers to
synchronize
Clarification Clariified note after table about synchronizing
only on <xxxACCTFROM> account
11.12.8 LOANMAILSYNC Addition New LOANMAILSYNCRQ/S aggregates
11.13 Loan support verbiage Addition Added bullet describing new loan support
11.13.1.5 Loan RQ/RS tables added Addition New tables showing loan requests/responses
11.13.2.1 New aggregate in profile for
banking
Addition <IMAGEPROF> added
Section Subject Change Type Change
OFX 2.1.1 Specification 6475/1/06
11.13.2.2 New tags in <XFERPROF> Addition <CANLOAN>, <CANSCHEDLOAN> and
<CANRECURLOAN>
11.13.2.4 Changed description Clarification Clarified meaning of <CANNOTIFY>
11.13.3 New aggregate in profile for
credit cards
Addition <IMAGEPROF> added
11.13.6 New loan profile Addition Added <LOANMSGSET>
11.14.5 New examples Addition Examples showing various Loan requests/
responses
11.14.6 New examples Addition Example showing Image support
13.1 New bullet Addition Added bullet for image download
13.7.1.1 New aggregate in profile for
images
Addition <IMAGEPROF> added
13.7.1.1 New tag in profile for closing Addition <CLOSINGAVAIL> added
13.7.1.2 Added new closing request/
response to table
Addition INVSTMTENDTRNRQ/S added
13.9.1 Added verbiage about image
download of statements
Addition Paragraph added at end of section
13.9.1.2 Added verbiage for images Addition Paragraph added just before table
13.9.1.2 New tag in <INVSTMTRQ> Addition Added <INCTRANIMG>
13.9.2.4.
4
REINVEST description Clarification Changed INVTRAN to INVTRANLIST
transaction in definition of REINVEST
13.10 New Closing rq/rsp Addition New section for investment closing
15 New Images Chapter Addition New chapter describing Image Message Set
16 New 1-Way Chapter Addition New chapter describing 1-Way OFX
Appendi
x A
Status code 15509 for 1-Way Addition Multiple accounts not supported (ERROR)
Appendi
x A
Status code 16510 for Images Addition Image not available yet; try again later
(ERROR)
Appendi
x A
Status code 16511 for Images Addition Image has expired; not longer available
(ERROR)
Appendi
x A
Status code 16512 for Images Addition Image Reference Identifier not found
(ERROR)
Appendi
x A
Status code 16513 for Images Addition Image server is not available; try again later
(ERROR)
Section Subject Change Type Change
648 C.5 OFX 2.1 to 2.1.1
C.5 OFX 2.1 to 2.1.1
This appendix describes the changes made to Open Financial Exchange between version 2.1 and version
2.1.1 The major change is the introduction of Multi-Factor Authentication.
C.5.1 Specification Changes by Chapter
Section Subject Change Type Change
Global OFX header Change OFX header: value of VERSION changed
from "210" to "211" throughout
2.5 MFA Addition Added verbiage stating that MFA is added to
Signon message set functionality
2.5.1 Preventing identity fraud Change Added verbiage discouraging use of SSN for
USERID or USERPASS.
2.5.1.1 New Section Addition New section entitled Multi-Factor
Authentication
2.5.1.2 New tags in <SONRQ> for
MFA
Addition New tags added to Signon Request
<SONRQ>: CLIENTUID, USERCRED1,
USERCRED2, AUTHTOKEN, ACCESSKEY,
MFACHALLENGEA
2.5.1.3 New tag in <SONRS> for
MFA
Addition New tag added to Signon Response
<SONRS>: ACCESSKEY
2.5.1.4 New error codes Addition New MFA error codes added to <SONRS>
Status Code table
2.5.4 New OFX request/response Addition New section added for MFA request/response
<MFACHALLENGERQ>,
<MFACHALLENGERS>
2.5.6 New examples Addition Added examples for MFA
3.1.5 New entries in status code
table
Addition Added some error codes for MFA to
<SONRS> status code table
7.2.2 Signon realms Addition New tags added to <SIGNONINFO>
aggregate: USERCRED1LABEL,
USERCRED2LABEL, CLIENTUIDREQ,
AUTHTOKENFIRST, AUTHTOKENLABEL,
AUTHTOKENINFOURL,
MFACHALLENGESUPT,
MFACHALLENGEFIRST
OFX 2.1.1 Specification 6495/1/06
7.2.2 <CHGPINFIRST>
description
Change Text was added to state that if the profile tag
MFACHALLENGEFIRST is ’Y’ the pin
change request should be sent immediately
after the session containing
MFACHALLNEGE authentication.
10.2.1 Adjusting due date of a
payment
Clarification Models are free to adjust the due date of a
payment if this date falls on a non-processing
day.
16.1 Added tags to Auto 1-Way
Request for MFA
Addition Added CLIENTUID and MFA_XXX tags
16.1.1 <CLIENTUID> text Addition New text describing use of CLIENTUID
16.1.2 New section for MFA Addition New section "Challenge Question Answers"
16.2.2 Status code table Addition New status codes for MFA
16.2.3 MFA Response description Addition New section "Challenge Response"
16.5.2 Example for MFA Addition Added example showing use of MFA
challenge questions/answers
Appendi
x A
New Status code 3000 Addition User credentials are correct, but further
authentication required. Client should send
MFACHALLENGERQ (ERROR)
Appendi
x A
New Status code 3001 Addition MFACHALLENGEA contains invalid
information (ERROR)
Appendi
x A
New Status code 15510 Addition CLIENTUID error. User must register the
Client UID (ERROR)
Appendi
x A
New Status code 15511 Addition User should contact financial institution
(ERROR)
Appendi
x A
New Status code 15512 Addition User needs to contact financial institution to
obtain AUTHTOKEN. Client should send it
in the next request (ERROR)
Appendi
x A
New Status code 15513 Addition AUTHTOKEN invalid (ERROR)
Section Subject Change Type Change
650 C.5 OFX 2.1 to 2.1.1
OFX 2.1.1 Specification 6515/1/06
TAG INDEX
Conventions
This index uses the conventions shown in the
following table to identify different entry types.
Entry Type Text Style
Tag definition Bold text
Tag shown in example Italic text
Tag used within body of
text
Plain text
Symbols
61
A
ACCESSKEY 49, 50, 51
ACCRDINT 457, 462, 465
ACCTBAL 528, 529
ACCTEDITMASK 507, 508, 509, 560, 562, 564
ACCTFORMAT 507, 508, 509, 560, 561, 564
ACCTID 22, 126, 127, 148, 154, 177, 178, 182,
186, 188, 190, 206, 213, 214, 233, 316,
317, 319, 320, 321, 323, 324, 328, 329,
330, 332, 333, 408, 409, 410, 411, 412,
413, 414, 415, 418, 419, 420, 421, 425,
426, 431, 490, 491, 496, 497, 515, 567,
568, 570, 571, 573, 577, 600
ACCTINFO 145, 146, 147, 148, 432, 519, 576,
577
ACCTINFORQ 146, 146, 148, 513, 518, 518,
518, 519, 520, 576
ACCTINFORS 145, 146, 146, 146, 148, 431,
513, 514, 518, 519, 519, 520, 521, 576,
577, 580
ACCTINFOTRNRQ 146, 148, 513, 518
ACCTINFOTRNRS 146, 148
ACCTKEY 187, 188, 190, 206, 213, 214, 216
ACCTREQUIRED 158
ACCTRQ 149, 149, 153, 154, 158, 514, 515,
516, 567
ACCTRS 151, 151, 153, 154, 518, 568
ACCTSYNCRQ 114, 153, 153, 518
ACCTSYNCRS 114, 153, 153
ACCTTRNRQ 149, 154, 567
ACCTTRNRS 151, 154, 568
ACCTTYPE 22, 126, 127, 148, 154, 177, 178,
182, 187, 188, 189, 316, 317, 319, 320,
321, 323, 324, 325, 328, 329, 330, 332,
333, 408, 409, 410, 411, 412, 413, 414,
415, 418, 419, 420, 421, 425, 426, 600
ACTIVITY 528, 529
ADDR1 133, 142, 144, 155, 156, 259, 354, 408,
409, 423, 424, 506, 507, 508, 516, 559,
560, 561, 564, 565, 567, 568
ADDR2 133, 142, 155, 156, 259, 354, 423, 424,
506, 507, 508, 516, 561
ADDR3 133, 142, 155, 156, 259, 354, 506, 507,
508, 516
ADJAMT 357, 357
ADJDATE 357, 357
ADJDESC 357, 357
ADJNO 357, 357
ADJUSTMENT 356, 357, 357
AFTERTAX 476, 483, 500
AFTERTAXCONTRIBAMT 479
AFTERTAXCONTRIBPCT 479
AMRTAVAIL 315
AMRTSMTRQ 337
AMRTSMTRS 337
AMRTSMTTRN 337
AMRTSTMTRQ 219
AMRTSTMTRS 219
AMRTSTMTTRN 219, 221
AMRTTRANLIST 219
AMRTTYPE 221
AMTDUE 528, 570, 571, 573
APPID 22, 50, 316, 558, 562, 565, 583, 599
APPVER 22, 30, 50, 316, 558, 562, 565, 583,
599
ASSETCLASS 446, 447, 448, 449, 494, 495
AUCTION 470
AUTHTOKEN 48, 50
652
AUTHTOKENFIRST 137
AUTHTOKENINFOURL 137
AUTHTOKENLABEL 137
AVAILACCTS 158, 513
AVAILBAL 105, 204, 207, 214, 318
AVAILCASH 474, 493
AVGCOSTBASIS 457, 465, 466
B
BAL 77, 77, 105, 205, 208, 231, 454, 474, 493
BALAMT 199, 204, 204, 207, 214, 233, 318
BALCLOSE 224, 227
BALDNLD 435
BALLIST 204, 207, 231, 454, 474, 474, 493
BALLOONAMT 197, 231
BALMIN 224
BALOPEN 224, 227, 231
BALTYPE 77, 77, 80, 493
BANKACCTFROM 22, 80, 105, 126, 127, 142,
148, 150, 177, 178, 182, 186, 186, 191,
193, 203, 204, 222, 223, 235, 236, 243,
252, 258, 261, 267, 274, 280, 281, 283,
284, 285, 287, 288, 289, 290, 291, 292,
293, 294, 295, 296, 297, 298, 299, 300,
301, 310, 316, 317, 319, 320, 321, 323,
324, 328, 329, 330, 332, 351, 352, 364,
375, 398, 399, 400, 401, 408, 409, 410,
411, 412, 413, 414, 415, 418, 419, 420,
421, 425, 426, 484, 485, 625
BANKACCTINFO 147, 148, 191, 191
BANKACCTTO 150, 154, 186, 188, 193, 211,
216, 217, 259, 319, 320, 323, 324, 330,
332, 333, 346, 352, 387, 388, 390, 391,
625
BANKID 22, 126, 127, 148, 154, 177, 178, 182,
186, 188, 259, 316, 317, 319, 320, 321,
323, 324, 328, 329, 330, 332, 333, 408,
409, 410, 411, 412, 413, 414, 415, 418,
419, 420, 421, 425, 426, 625
BANKMAILRQ 280, 280
BANKMAILRS 281, 281
BANKMAILSYNCRQ 114, 298, 298
BANKMAILSYNCRS 114, 299, 299
BANKMAILTRNRQ 280, 298, 300
BANKMAILTRNRS 281, 283, 284, 299, 301
BANKMSGSET 310, 310
BANKMSGSETV1 42, 130, 310
BANKMSGSRQV1 22, 40, 316, 319, 321, 323,
328
BANKMSGSRSV1 304, 317, 319, 321, 324,
326, 328
BANKNAME 625
BANKTRANLIST 204, 207, 317
BASEMATCHAMT 478
BASEMATCHPCT 478
BILLDETAILROW 537, 538, 538, 541, 570,
571, 574
BILLDETAILTABLE 527, 529, 537, 537, 537,
538, 539, 540, 541, 570, 573
BILLDETAILTABLETYPE 536, 537, 538, 538,
539, 540, 541, 570, 574
BILLERID 506, 507, 507, 515, 523, 559, 560,
561, 563, 567, 568, 570, 571, 573, 577
BILLERINFO 507, 507, 507, 511, 512, 515,
559, 560, 561, 563
BILLERINFOURL 508
BILLERNAME 515
BILLID 353, 523, 527, 528, 536, 537, 541, 543,
545, 570, 571, 573
BILLPAYMSGSET 61, 406, 406
BILLPAYMSGSETV1 42, 130, 347, 403, 404,
405, 406
BILLPAYMSGSRQV1 404, 408, 410, 412, 414,
415, 416, 417, 419, 422, 423, 425
BILLPAYMSGSRSV1 346, 363, 409, 411, 413,
414, 416, 417, 418, 420, 422, 424, 425
BILLPMTSTATUS 528, 531, 545, 545
BILLPMTSTATUSCODE 524, 526, 527, 531
BILLPMTSTATUSCOUNTS 527
BILLPUB 353, 507, 507, 515, 523, 526, 527,
559, 560, 561, 563, 567, 568, 569, 570,
571, 572, 573, 575, 577
BILLPUBCONTEXT 407
BILLPUBINFO 353
BILLREFINFO 353, 353, 528, 546, 570, 571,
573
BILLSTATUS 528, 530, 545
BILLSTATUSCODE 523, 526, 530
BILLSTATUSCOUNTS 526
BILLSTATUSMODRQ 543, 545, 545, 557
BILLSTATUSMODRS 544, 545, 545
BILLSTATUSMODTRNRQ 545
BILLTBLSTRUCTRQ 540, 541, 541
BILLTBLSTRUCTRS 541, 541, 542
OFX 2.1.1 Specification 6535/1/06
BILLTBLSTRUCTTRNRQ 541
BILLTBLSTRUCTTRNRS 541
BILLTYPE 523, 528
BODY 167, 168, 169
BPACCTINFO 351, 351
BRANCHID 186, 188, 625
BRAND 512, 512, 560, 562, 564
BROKERCONTACTINFO 477
BROKERID 431, 490, 491, 496, 497
BUSNAMEACCTHELD 516
BUYDEBT 462
BUYMF 462
BUYOPT 462
BUYOTHER 431, 462
BUYPOWER 474
BUYSTOCK 462, 491
BUYTYPE 457, 462, 470, 492, 494
C
C 538, 538, 541, 570, 571, 574
CALLPRICE 446
CALLTYPE 446
CANADDPAYEE 407
CANBILLPAY 313
CANCELWND 313
CANEMAIL 312, 315, 435, 557
CANLOAN 311
CANMODMDLS 311, 407
CANMODPMTS 407
CANMODSTATUS 557
CANMODXFERS 584
CANNOTIFY 312, 557
CANPENDING 180, 270, 270, 277, 328, 329,
379, 380, 422, 423
CANRECUR 311, 584
CANRECURLOAN 311
CANSCHED 311, 311, 314, 315
CANSCHEDLOAN 311
CANSUPPORTGROUPID 556
CANSUPPORTIMAGES 556, 557
CANUPDATEPRESNAMEADDRESS 517, 557
CANUSEDESC 311
CANUSERANGE 311
CASESEN 136
CASHBAL 476
CCACCTFROM 80, 186, 190, 190, 192, 193,
201, 206, 207, 213, 214, 216, 225, 226,
229, 233, 243, 252, 280, 281, 289, 290,
291, 292, 294, 295, 296, 297, 298, 299
CCACCTINFO 192
CCACCTTO 190, 190, 193, 211, 217
CCCLOSING 226, 226, 226, 227
CCSTMTENDRQ 201, 225, 225, 229
CCSTMTENDRS 226, 226
CCSTMTENDTRNRQ 225
CCSTMTENDTRNRS 226
CCSTMTRQ 205, 206, 206, 216, 227
CCSTMTRS 207, 207
CCSTMTTRNRQ 206
CCSTMTTRNRS 207
CHALLENGERQ 56, 56, 100, 102, 628
CHALLENGERS 56, 56, 100, 102
CHALLENGETRNRQ 56
CHALLENGETRNRS 56
CHARTYPE 136
CHECKING 432
CHECKNUM 210, 216, 236, 237, 283, 318,
322, 361, 369, 417
CHECKSUP 80, 588
CHGPINFIRST 137
CHGUSERINFO 158
CHGUSERINFORQ 155, 155, 516, 517, 627
CHGUSERINFORS 156
CHGUSERINFOSYNCRQ 114, 155, 157
CHGUSERINFOSYNCRS 114, 155, 157
CHGUSERINFOTRNRQ 155, 157
CHGUSERINFOTRNRS 155, 157
CHKANDDEB 224
CHKDESC 235, 236, 236
CHKERROR 237
CHKMAILRS 283, 283
CHKNUMEND 235, 321
CHKNUMSTART 235, 321
CHKRANGE 235, 235, 235, 321
CHKSTATUS 237, 322
CITY 133, 142, 144, 155, 156, 259, 354, 408,
409, 423, 424, 506, 508, 516, 559, 560,
561, 564, 565, 567, 568
CLIENTACTREQ 158
CLIENTENROLL 158, 158
CLIENTROUTING 132
CLIENTUID 48, 50, 599
CLIENTUIDREQ 137
654
CLOSING 223, 224, 224, 484
CLOSINGAVAIL 310, 312, 315
CLOSINGIMGAVAIL 81, 596
CLOSUREOPT 462
CLTCOOKIE 43, 45, 442, 443, 451, 453, 520,
521, 535
CODE 37, 45, 52, 57, 62, 78, 79, 81, 144, 148,
154, 168, 169, 171, 182, 240, 250, 317,
320, 321, 324, 329, 330, 332, 360, 409,
411, 413, 414, 416, 417, 418, 420, 422,
424, 426, 491, 497, 526, 559, 563, 566,
568, 569, 573, 576, 625
COLDEF 541, 542, 542
COLNAME 542
COLTYPE 542
COMMISSION 455, 457, 460, 461, 464, 492
CONFMSG 261
CONSUPOSTALCODE 506, 506
CONTRIBINFO 478, 500
CONTRIBSECURITY 478, 500
CONTRIBUTIONS 480, 481, 482, 500
CORRECTACTION 210, 210, 216
CORRECTFITID 84, 210, 216
COUNT 526, 527
COUNTRY 133, 142, 144, 155, 156, 259, 354,
506, 508, 516, 559, 560, 561, 564, 565,
567, 568, 628
COUPONFREQ 446
COUPONRT 446
CRED2 583, 599
CRED3 583, 599
CREDITCARDMSGSET 312
CREDITCARDMSGSETV1 42, 312
CREDITCARDMSGSRQV1 305
CREDITCARDMSGSRSV1 305
CREDITLIMIT 227
CSPHONE 134
CURDEF 105, 105, 106, 204, 207, 214, 219,
223, 226, 229, 236, 241, 250, 261, 317,
320, 321, 324, 332, 361, 373, 409, 411,
419, 426, 453, 484, 485, 491, 497
CURRATE 105, 106
CURRENCY 77, 105, 105, 106, 106, 211, 217,
225, 227, 232, 237, 445, 460, 461, 463,
464, 465, 466, 469, 472
CURRENTLOANBAL 480
CURRENTVESTPCT 479
CURSYM 106, 106
D
DATEBIRTH 142, 144, 565
DAYPHONE 142, 144, 155, 156, 516, 565, 567,
568
DAYSTOPAY 358, 363, 406, 410, 411, 424, 426
DAYSWITH 311, 406, 406
DEBADJ 227
DEBTCLASS 446
DEBTINFO 444, 446, 446
DEBTTYPE 446
DEFERPCTAFTERTAX 478
DEFERPCTPRETAX 478
DEND 213
DENOMINATOR 466
DEPANDCREDIT 224
DEPMAILRS 284, 284
DESC 77, 80, 147, 148, 493
DETAILAVAILABLE 527, 529, 572
DFLTDAYSTOPAY 311, 406, 406, 585
DFLTIMAGEDELAY 584
DFLTIMAGETTL 584
DIFFFIRSTPMT 407
DIFFLASTPMT 407
DISCOUNT 356, 356
DOMXFERFEE 313, 314, 315
DSCAMT 356, 356
DSCDATE 356, 356
DSCDESC 356, 356
DSCRATE 356, 356
DTACCTUP 51, 145, 146, 146, 148, 317, 518,
519, 520, 559, 563, 566, 576, 577, 580
DTASOF 77, 199, 200, 204, 207, 214, 233, 318,
445, 451, 452, 453, 491, 493, 497
DTAUCTION 470
DTAVAIL 210
DTBILL 528, 528, 570, 571, 573
DTCALL 446
DTCHANGED 55
DTCLIENT 22, 49, 316, 558, 562, 565
DTCLOSE 224, 227, 231, 528
DTCOUPON 446
DTCREATED 162, 167, 168, 169
DTDUE 177, 178, 193, 193, 258, 261, 324,
325, 353, 375, 406, 408, 409, 410, 411,
412, 413, 414, 415, 418, 419, 420, 421,
426
DTDUEBY 523, 523
OFX 2.1.1 Specification 6555/1/06
DTEFF 530, 531
DTEND 86, 86, 201, 203, 204, 206, 207, 214,
219, 223, 224, 225, 227, 229, 316, 318,
451, 452, 453, 484, 491, 522, 523, 526,
570, 572, 573, 599
DTEXPIRE 143, 144, 448, 495, 533, 566, 570,
571, 573
DTIMAGEAVAIL 80
DTINFOCHG 156
DTLOANMATURITY 197
DTLOANSTART 197
DTMAT 446
DTNEXT 224, 227, 231
DTOPEN 224, 227, 231, 528
DTPAYROLL 460, 498
DTPLACED 469, 494
DTPMTDUE 90, 200, 227, 528, 570, 571, 573
DTPMTPRC 358, 364, 410, 412, 413, 415, 417,
426
DTPOSTED 210, 216, 241, 250, 261, 318, 492
DTPOSTEND 224, 225, 227, 232
DTPOSTSTART 224, 225, 227, 232
DTPRICEASOF 472, 493
DTPROFUP 51, 132, 133, 317, 559, 563, 566
DTPURCHASE 457, 466
DTSEEN 543, 543
DTSERVER 51, 317, 559, 563, 566
DTSETTLE 456, 491
DTSTART 86, 86, 201, 203, 204, 206, 207, 213,
214, 219, 223, 224, 225, 227, 229, 316,
317, 451, 452, 453, 484, 490, 491, 496,
522, 523, 526, 569, 570, 572, 573, 575,
599
DTTRADE 456, 491
DTUPDATE 505, 506, 507, 559, 563
DTUSER 210, 216, 236, 237, 283, 284, 318,
492
DTXFERPRC 195, 195, 196, 199, 200, 331, 332
DTXFERPRJ 241, 241, 241, 250, 261, 320, 333
DTYIELDASOF 447, 449
DURATION 469, 494
E
EARNINGS 481, 483
EMAIL 134, 142, 144, 155, 156, 565
EMAILMSGSET 173, 174
EMAILMSGSETV1 42, 174
EMAILPROF 310, 312, 312, 557
EMPLOYERCONTACTINFO 477
EMPLOYERNAME 477, 499
ENROLLRQ 47, 141, 142, 144, 150, 155, 513,
516, 565
ENROLLRS 142, 143, 144, 513, 566
ENROLLTRNRQ 142, 144, 565
ENROLLTRNRS 143, 144, 566
ESCRWAMT 200, 201, 201
ESCRWBAL 233
ESCRWFEES 201
ESCRWFEESBAL 233
ESCRWINS 201
ESCRWINSBAL 233
ESCRWOTHER 201
ESCRWOTHERBAL 233
ESCRWPMI 201
ESCRWPMIBAL 233
ESCRWTAX 201
ESCRWTAXBAL 233
ESCRWTOTAL 201
ESTPAYOFF 231, 233
ESTPAYOFFBAL 233
EVEPHONE 142, 144, 155, 156, 516, 565
EXTBANKACCTTO 625
EXTBANKDESC 258, 259, 259, 261
EXTDNAME 210, 216
EXTDPAYEE 350, 358, 358, 361, 363, 373,
388, 391, 406, 409, 411, 424, 426
EXTDPMT 343, 352, 354, 354
EXTDPMTCHK 354
EXTDPMTDSC 354, 354
EXTDPMTFOR 354
EXTDPMTINFO 352
EXTDPMTINV 354, 355, 356, 356, 357
F
FAXPHONE 134
FEE 236, 260, 261, 283, 284, 322
FEEMSG 236, 322
FEES 455, 457, 460, 461, 464
FI 22, 50, 51, 53, 53, 316, 317, 527, 558, 562
FIASSETCLASS 446, 447, 448, 449
FICERTID 56, 56, 56
FID 22, 53, 316, 317, 558, 562, 583, 599
656
FIID 442, 442, 445, 494, 495
FIMFASSETCLASS 447
FINALAMT 372, 373, 376, 377
FINAME 133
FINCHG 227
FINDBILLERRQ 47, 504, 505, 505, 506, 558,
558, 563
FINDBILLERRS 504, 507, 507, 559, 563
FINDBILLERTRNRQ 505, 558, 563
FINDBILLERTRNRS 507, 509, 559, 563
FIPORTION 447
FIRSTNAME 142, 144, 155, 156, 565
FITID 83, 83, 83, 84, 112, 209, 210, 216, 224,
226, 227, 231, 318, 450, 456, 469, 485,
491, 492, 494
FRACCASH 457, 466
FREQ 176, 176, 177, 178, 323, 324, 375, 418,
419, 420, 421, 626
FROM 162, 167, 168, 169
G
GAIN 457, 461, 462
GENUSERKEY 47, 50
GETMIMERQ 70, 170, 170, 170, 171
GETMIMERS 70, 70, 170, 170, 170, 172
GETMIMESUP 174
GETMIMETRNRQ 171
GETMIMETRNRS 171
GROUPID 519, 520, 520, 526, 534, 535, 535,
535, 575, 576
H
HASEXTDPMT 407
HELDINACCT 472, 492, 493
HELPMESSAGE 507, 508, 561
HTML 167, 168, 169, 172
I
IDSCOPE 358, 358, 410, 411, 424, 426
IMAGEDATA 79, 211, 217, 225, 227, 232, 485,
580, 582, 583, 588
IMAGEDELAY 80
IMAGEMSGSET 584, 596
IMAGEPROF 81, 310, 312, 315, 435, 596
IMAGEREF 80, 580, 583, 588, 589
IMAGEREFTYPE 80, 580, 582, 583, 588
IMAGERQ 580, 589
IMAGETTL 80
IMAGETYPE 79, 588
IMAGEURL 533, 533, 570, 571, 573
INC401K 452, 496
INC401KBAL 452, 496
INCBAL 452, 490, 600
INCEPTODATE 481
INCIMAGES 162, 163, 163, 166, 167, 168, 169,
298, 300, 384, 488, 506, 550, 558, 563
INCLUDE 22, 203, 203, 206, 213, 316, 452,
490, 496
INCLUDEBILLPMTSTATUS 524, 524, 525
INCLUDEBILLSTATUS 524, 524, 525
INCLUDECOUNTS 525, 526
INCLUDEDETAIL 524, 525, 569, 572, 575
INCLUDESTATUSHIST 524, 525
INCLUDESUMMARY 525, 525
INCOME 463
INCOMETYPE 457, 463, 464
INCOO 452, 490
INCPOS 451, 452, 490, 496, 600
INCSTMTIMG 223, 225, 229, 484, 590
INCTRAN 22, 203, 203, 206, 213, 214, 216,
316, 452, 490, 496
INCTRANIMG 203, 213, 452, 586
INITIALAMT 372, 373, 376, 377
INITIALLOANBAL 480
INSURANCE 201
INTAMT 201
INTERCANRQ 255, 255
INTERCANRS 255, 255
INTERMODRQ 252, 252
INTERMODRS 253, 253
INTERRQ 249, 249, 272, 274
INTERRS 250, 250, 272, 275
INTERSYNCRQ 114, 291, 291, 296
INTERSYNCRS 114, 292, 292
INTERTRNRQ 249, 252, 255, 291
INTERTRNRS 250, 253, 255, 292
INTERXFERMSGSET 313
INTERXFERMSGSETV1 42, 313
INTERXFERMSGSRQV1 306
INTERXFERMSGSRSV1 307
OFX 2.1.1 Specification 6575/1/06
INTLXFERFEE 313, 314, 315
INTRACANRQ 246, 246
INTRACANRS 246, 246
INTRAMODRQ 243, 243
INTRAMODRS 244, 244, 330, 332
INTRARQ 240, 240, 265, 267, 319, 323
INTRARS 240, 241, 265, 268, 320, 324, 332
INTRASYNCRQ 114, 289, 289, 294
INTRASYNCRS 114, 290, 290, 292
INTRATRNRQ 41, 240, 243, 246, 289, 319
INTRATRNRS 241, 244, 246, 290, 319, 330,
331
INV401K 454, 477, 499
INV401KBAL 454, 476, 499
INV401KDNLD 435
INV401KSOURCE 457, 460, 461, 463, 464,
465, 466, 469, 472, 498
INV401KSUMMARY 480, 500
INVACCTFROM 142, 150, 431, 431, 431, 432,
451, 453, 466, 484, 486, 487, 488, 489,
490, 491, 496, 497
INVACCTINFO 431, 432, 432
INVACCTTO 150, 431
INVACCTTYPE 432
INVALIDACCTTYPE 310
INVBAL 454, 474, 474, 493
INVBANKTRAN 454, 455, 455, 492
INVBUY 459, 462, 491
INVCLOSING 484, 485
INVDATE 356, 356
INVDESC 356, 356
INVEXPENSE 463
INVMAILRQ 486, 486, 550
INVMAILRS 487, 487, 551
INVMAILSYNCRQ 114, 486, 488, 488
INVMAILSYNCRS 114, 486, 489, 489
INVMAILTRNRQ 488
INVMAILTRNRS 489
INVNO 356, 356
INVOICE 355, 356, 356, 528
INVOOLIST 454, 494
INVPAIDAMT 356, 356
INVPOS 472, 472, 473, 492, 493
INVPOSLIST 431, 454, 492
INVSELL 459, 465
INVSTMTENDRQ 484
INVSTMTENDRS 484
INVSTMTMSGSET 435, 435
INVSTMTMSGSETV1 42, 434
INVSTMTMSGSRQV1 436, 490, 496
INVSTMTMSGSRSV1 437, 491, 497
INVSTMTRQ 451, 451, 451, 490, 496
INVSTMTRS 453, 453, 453, 491, 497
INVSTMTTRNRQ 451, 451, 490, 496
INVSTMTTRNRS 453, 453, 491, 497
INVTOTALAMT 356, 356
INVTRAN 456, 456, 460, 461, 462, 463, 464,
465, 466, 491
INVTRANLIST 453, 491, 497
J
JRNLFUND 463
JRNLSEC 464
L
LANGUAGE 22, 50, 51, 135, 316, 317, 558,
559, 562, 563, 565, 566
LASTNAME 142, 144, 155, 156, 565
LEDGERBAL 105, 204, 207, 318
LIMITPRICE 469, 494
LINEITEM 356, 357, 357
LITMAMT 357, 357
LITMDESC 357, 357
LOAD 455, 457, 460, 461, 464
Loan Closing 231
LOANACCTFROM 193, 196, 197, 213, 214,
219, 229, 285, 289, 290, 291, 292, 300,
301
LOANACCTID 196, 196
LOANACCTINFO 197, 333
LOANACCTTO 193, 196, 217
LOANACCTTYPE 196, 196
LOANCLOSING 229, 231, 341
LOANDESC 480
LOANFREQ 197, 198
LOANID 457, 460, 461, 480, 498
LOANINFO 480
LOANINITBAL 197, 221
LOANINITNUMPMTS 197
LOANINT 197, 199, 231
LOANINTEREST 457, 460, 498
LOANINTERESTTODATE 480
658
LOANINTLTD 199
LOANINTPRJ 199
LOANINTRATE 199
LOANINTYTD 199
LOANIRATE 197, 199, 221, 231
LOANMAILRQ 285
LOANMAILRS 285
LOANMAILSYNCRQ 300
LOANMAILSYNCRS 301
LOANMAILTRNRQ 300
LOANMAILTRNRS 301
LOANMATURITYDATE 480
LOANMSGSET 315
LOANMSGSETV1 315
LOANNEXTPMTDATE 480
LOANPMT 197, 200, 231
LOANPMTAMT 480
LOANPMTFREQ 480
LOANPMTSINITIAL 480
LOANPMTSREMAINING 480
LOANPMTTYPE 200
LOANPRINCIPAL 457, 460, 498
LOANRATE 480
LOANRMNPMTS 197, 231
LOANSMTRQ 334
LOANSMTRS 335
LOANSMTTRN 335
LOANSTARTDATE 480
LOANSTMTENDRQ 229, 341
LOANSTMTENDRS 229, 229, 341
LOANSTMTRQ 213
LOANSTMTRS 213
LOANSTMTTRN 214, 216, 216
LOANTOTALPROJINTEREST 480
LOANTRANLIST 214
LOANTRNAMT 193, 201, 216, 221
LOANTRNTYPE 216, 218
LOANTYPE 197
LOGO 508, 560, 561, 562, 564
LOSTSYNC 112, 118, 126, 127, 153, 157, 167,
288, 290, 292, 293, 295, 297, 299, 301,
385, 396, 399, 401, 489, 551
M
MAIL 162, 162, 164, 167, 168, 169, 280, 281,
283, 284, 285, 381, 382, 486, 487, 548
MAILRQ 164, 164, 167, 174
MAILRS 164, 164, 166, 168, 169
MAILSUP 174
MAILSYNCRQ 114, 164, 166, 166, 168, 174
MAILSYNCRS 114, 164, 166, 167, 168
MAILTRNRQ 164, 166, 167
MAILTRNRS 164, 167, 168
MARGINBALANCE 474, 493
MARGININTEREST 464
MARKDOWN 457, 461
MARKUP 458, 460
MATCH 476, 482, 483, 501
MATCHCONTRIBAMT 479
MATCHCONTRIBPCT 479
MATCHINFO 478, 499
MATCHPCT 478, 499
MAX 47, 136
MAXMATCHAMT 478
MAXMATCHPCT 478
MEMO 85, 85, 177, 178, 211, 217, 259, 353,
408, 409, 410, 411, 412, 413, 414, 415,
418, 419, 420, 421, 426, 445, 456, 469,
472, 492, 493
MEMO2 85
MESSAGE 37, 38, 78, 79, 143, 158, 164
MFA_XXX 599
MFACHALLENGE 58
MFACHALLENGEA 50, 61
MFACHALLENGEFIRST 137
MFACHALLENGERQ 58, 58
MFACHALLENGERS 58
MFACHALLENGESUPT 137
MFAPHRASEA 61
MFAPHRASEID 58, 59, 61
MFAPHRASELABEL 58
MFASSETCLASS 447
MFINFO 444, 447, 447
MFTYPE 447
MIDDLENAME 142, 144, 155, 156, 565
MIN 30, 136
MINAMTDUE 528
MINPMTDUE 227
MINUNITS 469
MKTGINFO 205, 208, 214, 219, 225, 227, 232,
454
MKTVAL 472, 493
MODELWND 311, 370, 406
OFX 2.1.1 Specification 6595/1/06
MODPENDING 267, 268, 274, 275, 375, 376,
377, 420, 421
MSGBODY 162, 167, 168, 169
MSGSETCORE 43, 61, 97, 99, 130, 134, 135,
135, 135, 136, 138, 158, 174, 310, 312,
313, 314, 315, 406, 435, 438, 556
MSGSETLIST 61, 133, 138, 158, 173
N
N 538, 538
NAME 77, 79, 210, 211, 216, 236, 237, 259,
344, 354, 358, 364, 375, 408, 409, 410,
411, 423, 424, 426, 492, 493, 506, 507,
515, 559, 560, 561, 563
NAMEACCTHELD 516, 567, 568
NEWUNITS 458, 466
NEWUSERPASS 54, 62, 102, 104
NINSTS 176, 177, 178, 375, 418, 419, 420, 421
NONCE 56, 56
NOTIFYDESIRED 528, 542, 570, 571, 573
NOTIFYWILLING 524, 542, 569, 572, 575
NUMERATOR 466
O
OFX 21, 22, 36, 37, 38, 38, 40, 129, 167, 171,
316, 317, 318, 319, 320, 321, 323, 324,
328, 329, 408, 409, 410, 411, 412, 413,
414, 415, 416, 417, 418, 419, 420, 422,
423, 424, 425, 490, 491, 496, 497, 514,
558, 559, 562, 563, 565, 566, 567, 568,
569, 572, 573, 575, 576
OFXSEC 99, 99, 135
OLDUNITS 458, 466
OO 469, 469, 470, 494
OOBUYDEBT 470
OOBUYMF 470
OOBUYOPT 470
OOBUYOTHER 470
OOBUYSTOCK 470, 494
OODNLD 435
OOSELLDEBT 470
OOSELLMF 470
OOSELLOPT 470
OOSELLOTHER 470
OOSELLSTOCK 470
OPTACTION 458, 462
OPTBUYTYPE 458, 462, 470
OPTINFO 444, 448, 448, 495
OPTIONLEVEL 432
OPTSELLTYPE 458, 465, 470
OPTTYPE 448, 495
ORG 22, 53, 53, 316, 317, 558, 562, 583, 599
ORIGCURRENCY 105, 106, 106, 211, 217,
225, 227, 232, 237, 460, 461, 463, 464,
465, 466
OTHERENROLL 158, 158
OTHERINFO 444, 448, 448
OTHERNONVEST 476, 482, 483
OTHERNONVESTAMT 479
OTHERNONVESTPCT 479
OTHERVEST 476, 482, 483, 499
OTHERVESTAMT 479
OTHERVESTPCT 479, 500
P
PARVALUE 446
PAYACCT 177, 178, 353, 360, 387, 388, 389,
390, 391, 393, 408, 409, 410, 411, 412,
413, 414, 415, 418, 419, 420, 421, 423,
424, 426, 626
PAYANDCREDIT 227
PAYEE 210, 344, 346, 347, 352, 354, 354, 360,
363, 364, 375, 387, 388, 389, 390, 391,
408, 409, 423, 424, 546
PAYEE2 546
PAYEEDELRQ 39, 393, 393, 394
PAYEEDELRS 394, 394
PAYEEID 177, 178, 210, 346, 348, 348, 352,
358, 360, 363, 364, 375, 387, 388, 409,
410, 411, 412, 413, 414, 415, 418, 419,
420, 421, 424, 426, 514, 515, 528
PAYEEID2 515, 546
PAYEELSTID 346, 347, 348, 348, 349, 350,
352, 360, 361, 363, 364, 373, 375, 388,
389, 390, 391, 393, 394, 409, 411, 411,
419, 421, 424, 426, 514, 515
PAYEELSTID2 515
PAYEEMODRQ 347, 363, 389, 389, 390, 393
PAYEEMODRS 346, 347, 363, 364, 375, 391,
391
660
PAYEERQ 347, 349, 363, 387, 387, 423
PAYEERS 347, 364, 375, 388, 388, 424
PAYEESYNCRQ 114, 153, 153, 157, 157, 350,
395, 395
PAYEESYNCRS 114, 153, 153, 157, 157, 346,
363, 396, 396
PAYEETRNRQ 39, 387, 389, 393, 395, 423
PAYEETRNRS 350, 388, 391, 394, 396, 424
PAYINSTRUCT 258, 261
PAYMENTINSTRUMENT 511, 512, 512, 559,
560, 561, 562, 564
PAYMENTINSTRUMENTS 508, 511, 511, 511,
512, 559, 560, 561, 564
PENALTY 461
PERCENT 447, 447
PERIODTODATE 481
PHONE 147, 148, 259, 354, 408, 409, 423, 424,
508, 559, 560, 561, 564
PINCH 137
PINCHRQ 54, 54, 62, 102, 104, 122, 137, 628
PINCHRS 54, 55, 55, 58, 61, 62
PINCHTRNRQ 62
PINCHTRNRS 62
PLANID 477, 499
PLANJOINDATE 477, 499
PMTAMT 200
PMTBYADDR 406
PMTBYPAYEEID 407
PMTBYXFER 407
PMTCANCRQ 39, 350, 359, 367, 367, 415
PMTCANCRS 182, 350, 367, 368, 368, 416
PMTINFO 177, 178, 352, 352, 360, 361, 363,
364, 365, 372, 373, 375, 376, 377, 381,
382, 408, 409, 410, 411, 412, 413, 414,
415, 418, 419, 420, 421, 426, 546
PMTINQRQ 39, 349, 350, 369, 369, 416
PMTINQRS 369, 369, 417
PMTINQTRNRQ 39, 369, 416
PMTINQTRNRS 369, 417
PMTINSTRUMENTTYPE 512, 512, 512, 560,
561, 562, 564
PMTMAILRQ 381, 381
PMTMAILRS 382, 382
PMTMAILSYNCRQ 114, 381, 384, 384, 548
PMTMAILSYNCRS 114, 385, 385
PMTMAILTRNRQ 381, 384
PMTMAILTRNRS 382, 385
PMTMODRQ 39, 343, 346, 347, 349, 359, 364,
364, 365, 412, 414
PMTMODRS 349, 350, 364, 365, 365, 367,
375, 397, 413, 415
PMTNUMBER 221
PMTPRCCODE 358, 360, 364, 410, 412, 413,
415, 417, 426
PMTPRCSTS 358, 358, 360, 361, 365, 367,
369, 410, 411, 413, 415, 417, 426
PMTRQ 39, 127, 346, 347, 349, 350, 360, 360,
363, 367, 387, 388, 391, 408, 410
PMTRS 126, 127, 349, 350, 352, 360, 360, 360,
361, 363, 364, 397, 409, 411, 425, 426
PMTSYNCRQ 113, 114, 126, 127, 182, 350,
398, 398, 402, 425
PMTSYNCRS 114, 126, 127, 182, 349, 350,
367, 399, 399, 402, 425
PMTTRNRQ 39, 127, 360, 365, 367, 398, 408,
410, 412, 414, 415
PMTTRNRS 126, 127, 182, 360, 365, 368, 399,
409, 411, 413, 414, 416, 426
PORTION 447
POSDEBT 473
POSDNLD 435
POSMF 473
POSOPT 473, 493
POSOTHER 431, 473
POSSTOCK 473, 492
POSTALCODE 133, 142, 144, 155, 156, 259,
354, 408, 409, 423, 424, 506, 508, 516,
559, 560, 561, 564, 565, 567, 568
POSTPROCWND 406
POSTYPE 458, 466, 472, 492, 493
PREFETCHURL 533, 533
PRESACCTFROM 507, 514, 514, 514, 515,
516, 528, 534, 537, 543, 548, 550, 551,
570, 571, 573, 577
PRESACCTINFO 513, 514, 514, 515, 519, 520,
546, 577
PRESACCTTO 507, 514, 514, 516, 517, 567,
568
PRESBILLINFO 515, 525, 527, 527, 527, 528,
534, 536, 537, 542, 546, 570, 571, 573
PRESCOUNTS 525, 526
PRESDELIVERYID 543, 543, 543, 544
PRESDETAIL 537
PRESDETAILRQ 522, 527, 536, 536, 536, 537
PRESDETAILRS 537, 537
OFX 2.1.1 Specification 6615/1/06
PRESDETAILTRNRQ 536
PRESDETAILTRNRS 537, 540
PRESDIRMSGSET 552, 553, 556
PRESDIRMSGSETV1 42, 504, 552, 553, 556
PRESDIRMSGSRQV1 504, 552, 558, 563
PRESDIRMSGSRSV1 504, 553, 559, 563
PRESDIRPROF 556
PRESDLVMSGSET 552, 556
PRESDLVMSGSETV1 42, 504, 522, 556
PRESDLVMSGSRQV1 522, 554, 569, 572, 575,
576
PRESDLVMSGSRSV1 522, 555, 569, 573, 576,
625
PRESDLVPROF 556
PRESGRPACCTINFOTRNRQ 518, 519, 519,
520, 576
PRESGRPACCTINFOTRNRS 519, 520, 520,
521, 576
PRESLIST 526, 527, 527, 570, 573
PRESLISTRQ 522, 522, 523, 526, 527, 533,
534, 535, 542, 546, 569, 572, 575
PRESLISTRS 522, 526, 526, 534, 535, 570, 573
PRESLISTTRNRQ 522, 523, 526, 534, 534,
535, 569, 572, 575
PRESLISTTRNRS 526, 534, 535, 535, 536,
569, 573
PRESMAILRQ 548, 548
PRESMAILRS 548, 548
PRESMAILSYNCRQ 114, 547, 550, 550
PRESMAILSYNCRS 114, 547, 551, 551
PRESMAILTRNRQ 548, 550
PRESMAILTRNRS 548, 549, 551
PRESNAMEADDRESS 515, 516, 516, 517,
567, 568
PRESNOTIFYRQ 543, 543, 557
PRESNOTIFYRS 544, 544
PRESNOTIFYTRNRQ 543
PRESNOTIFYTRNRS 544, 546
PRETAX 476, 482, 483, 499, 500
PRETAXCONTRIBAMT 479
PRETAXCONTRIBPCT 479, 500
PREVBAL 528, 529
PRINAMT 201
PRINBAL 197, 199, 214, 221, 231, 336
PRINLTD 199
PRINYTD 199
PRIORYEARCONTRIB 458, 460, 498
PROCDAYSOFF 311, 314, 406, 556, 557, 557,
584
PROCENDTM 311, 314, 315, 406, 556, 557,
584
PROFITSHARING 476, 482, 483, 499
PROFITSHARINGCONTRIBAMT 479
PROFITSHARINGCONTRIBPCT 479, 500
PROFMSGSET 137, 138
PROFMSGSETV1 42, 129, 138
PROFRQ 47, 132, 595
PROFRS 133, 133, 133, 552, 556, 595
PROFTRNRQ 132
PROFTRNRS 133
PURANDADV 227
R
RATETYPE 199
RATING 445
REASON 514, 577
RECINTERCANRQ 277, 277
RECINTERCANRS 277, 277
RECINTERMODRQ 274, 274
RECINTERMODRS 275, 275
RECINTERRQ 272, 272
RECINTERRS 272, 272
RECINTERSYNCRQ 296, 296
RECINTERSYNCRS 114, 297, 297
RECINTERTRNRQ 272, 274, 277, 296
RECINTERTRNRS 272, 275, 277, 297
RECINTRACANRQ 270, 270, 328
RECINTRACANRS 270, 270, 329
RECINTRAMODRQ 267, 267, 311
RECINTRAMODRS 268, 268
RECINTRARQ 265, 265, 323
RECINTRARS 265, 265, 324
RECINTRASYNCRQ 114, 294, 294, 328
RECINTRASYNCRS 114, 295, 295, 328
RECINTRATRNRQ 265, 267, 270, 294, 323,
328
RECINTRATRNRS 265, 268, 270, 295, 324,
329
RECPMTCANCRQ 180, 379, 379, 422
RECPMTCANCRS 180, 380, 380, 422
RECPMTMODRQ 346, 347, 375, 375, 376,
376, 420
RECPMTMODRS 347, 375, 377, 377, 390, 420
662
RECPMTRQ 177, 346, 347, 372, 372, 418
RECPMTRS 83, 178, 352, 373, 373, 375, 418
RECPMTSYNCRQ 114, 400, 400, 402
RECPMTSYNCRS 114, 401, 401, 402
RECPMTTRNRQ 372, 376, 379, 400, 418, 419,
422
RECPMTTRNRS 373, 377, 380, 401, 418, 420,
422
RECSRVRTID 83, 178, 178, 180, 180, 241,
250, 265, 267, 268, 270, 272, 274, 275,
277, 324, 328, 329, 333, 347, 361, 373,
376, 377, 379, 380, 418, 420, 421, 422
RECURRINST 176, 176, 177, 178, 265, 267,
268, 272, 274, 275, 323, 324, 372, 373,
375, 376, 377, 418, 419, 420, 421
REFNUM 210, 216, 250
REFRESH 116, 117, 117, 117, 124, 135, 153,
157, 166, 287, 289, 291, 293, 294, 296,
298, 300, 384, 395, 397, 398, 400, 488,
550, 625
REFRESHSUPT 135, 135
REINVCG 473
REINVDIV 473, 473
REINVEST 464
REJECTIFMISSING 113, 116, 117, 126, 127,
153, 157, 166, 168, 182, 287, 289, 291,
293, 294, 296, 298, 300, 328, 384, 395,
398, 400, 425, 488, 550, 625
RELFITID 84, 458, 462, 465
RELTYPE 458, 465
RESPFILEER 135
RESTRICT 508, 561
RESTRICTION 469, 494
RETOFCAP 465
REVERSALFITID 84, 456, 456
ROLLOVER 476, 482, 483, 499
ROLLOVERCONTRIBAMT 479
ROLLOVERCONTRIBPCT 479, 500
S
SECID 441, 441, 442, 442, 444, 445, 448, 460,
461, 462, 463, 464, 465, 466, 469, 470,
472, 492, 493, 494, 495
SECINFO 445, 445, 446, 447, 448, 449, 494,
495
SECLIST 440, 443, 444, 444, 494
SECLISTMSGSET 438, 438
SECLISTMSGSETV1 42, 438
SECLISTMSGSRQV1 40, 439, 440, 444
SECLISTMSGSRSV1 40, 440, 444, 494
SECLISTRQ 442, 442, 442, 443
SECLISTRQDNLD 438
SECLISTRS 443, 443, 443
SECLISTTRNRQ 442, 442, 444
SECLISTTRNRS 443, 443
SECNAME 445, 494, 495
SECRQ 442
SECURED 458, 465, 473
SECURITYNAME 142, 144, 565
SELLALL 470
SELLDEBT 465
SELLMF 465
SELLOPT 465
SELLOTHER 431, 465
SELLREASON 458, 465
SELLSTOCK 465
SELLTYPE 458, 465, 470
SESSCOOKIE 47, 50, 51
SEVERITY 37, 38, 43, 62, 78, 78, 81, 144, 148,
154, 168, 169, 172, 182, 317, 320, 321,
324, 329, 330, 332, 409, 411, 413, 414,
416, 417, 418, 420, 422, 424, 426, 491,
497, 559, 563, 566, 568, 569, 573, 576
SHORTBALANCE 474, 493
SHPERCTRCT 448, 458, 462, 465, 495
SIC 210, 506, 508, 559, 560, 561, 564
SIGNONINFO 47, 133, 136, 137
SIGNONINFOLIST 133
SIGNONMSGSET 61, 61, 131
SIGNONMSGSETV1 42, 61, 130
SIGNONMSGSRQV1 22, 40, 316, 318, 320,
323, 325, 326, 328, 329, 408, 410, 412,
414, 415, 416, 417, 419, 422, 423, 425,
490, 496, 558, 562, 565, 567, 569, 572,
575, 576
SIGNONMSGSRSV1 317, 319, 321, 324, 328,
330, 409, 411, 413, 414, 416, 417, 418,
420, 422, 424, 425, 491, 497, 559, 563,
566, 568, 569, 573, 576
SIGNONREALM 135, 136
SIGNUPMSGSET 158
SIGNUPMSGSETV1 42, 158
SIGNUPMSGSRQV1 40, 139, 565, 567
SIGNUPMSGSRSV1 40, 566, 568
OFX 2.1.1 Specification 6635/1/06
SONRQ 22, 40, 46, 46, 47, 49, 49, 51, 54, 97,
102, 104, 123, 126, 131, 141, 167, 316,
319, 320, 323, 325, 326, 328, 329, 408,
410, 412, 414, 415, 416, 417, 419, 422,
423, 424, 425, 490, 491, 496, 497, 504,
514, 520, 534, 535, 558, 562, 565, 567,
569, 572, 575, 576, 628
SONRS 46, 46, 47, 50, 51, 51, 124, 317, 319,
321, 324, 328, 330, 409, 411, 413, 414,
416, 417, 418, 420, 424, 425, 491, 497,
559, 563, 566, 567, 568, 569, 572, 573,
575, 576
SPACES 136
SPECIAL 136
SPLIT 466
SPNAME 51, 135, 348, 514, 515
SRVRTID 82, 82, 83, 112, 116, 120, 182, 210,
216, 241, 243, 244, 246, 250, 252, 253,
255, 261, 262, 263, 265, 272, 320, 324,
330, 332, 347, 349, 350, 361, 365, 367,
368, 369, 381, 382, 402, 403, 409, 411,
412, 413, 414, 415, 416, 417, 426, 456,
469
SRVRTID2 82, 83, 531
STARTOFYEAR 478
STATE 133, 142, 144, 155, 156, 259, 354, 408,
409, 423, 424, 506, 508, 516, 559, 560,
561, 563, 564, 565, 567, 568
STATEWITHHOLDING 458, 461
STATUS 37, 43, 45, 51, 52, 57, 62, 78, 78, 81,
126, 133, 143, 144, 148, 154, 168, 169,
171, 182, 240, 250, 317, 320, 321, 324,
329, 330, 332, 360, 409, 411, 413, 414,
416, 417, 418, 420, 422, 424, 426, 443,
453, 491, 497, 510, 521, 526, 535, 559,
563, 566, 568, 569, 573, 576
STATUSMODBY 530, 532
STMNTIMAGE 529, 533, 533, 533, 533, 570,
571, 573
STMTENDRQ 39, 222, 222, 222, 225, 484
STMTENDRS 222, 223, 223, 226, 484, 485
STMTENDTRNRQ 39, 222
STMTENDTRNRS 223
STMTRQ 22, 27, 38, 203, 203, 203, 205, 224,
225, 316, 430
STMTRS 27, 38, 105, 203, 204, 204, 207, 317,
430
STMTTRN 204, 207, 209, 209, 210, 318, 455,
492, 539
STMTTRNRQ 22, 41, 203, 316
STMTTRNRS 204, 317
STOCKINFO 444, 449, 449, 494
STOCKTYPE 449
STOPPRICE 469
STPCHKFEE 311
STPCHKNUM 236, 237, 237, 322
STPCHKPROF 310, 311, 311
STPCHKRQ 235, 235, 321, 626
STPCHKRS 236, 236, 321
STPCHKSYNCRQ 114, 287, 287
STPCHKSYNCRS 114, 288, 288
STPCHKTRNRQ 235, 287, 321
STPCHKTRNRS 236, 288, 321
STRIKEPRICE 448, 495
STSVIAMODS 406
SUBACCT 469, 494
SUBACCTFROM 458, 463, 464
SUBACCTFUND 455, 458, 460, 461, 463, 464,
465, 466, 492
SUBACCTSEC 458, 460, 461, 462, 463, 464,
465, 466, 492
SUBACCTTO 458, 463, 464
SUBJECT 162, 167, 168, 169
SUPTXDL 148, 191, 192, 197
SVC 149, 151, 154, 516, 518, 519, 567, 568,
627
SVCADD 149, 150, 150, 150, 151, 154, 514,
516, 516, 516, 518, 567, 568
SVCCADD 149
SVCCHG 149, 150, 151, 514, 517
SVCDEL 149, 150, 151
SVCSTATUS 145, 147, 148, 151, 154, 191, 192,
198, 351, 432, 577
SVCSTATUS2 514, 518
SWITCHALL 470
SWITCHMF 470
SYNCERROR 625
SYNCMODE 135, 135
T
TABLENAME 537, 537, 570, 574
TABLETYPE 537, 541
TAN 43, 45, 442, 442, 451, 520, 535
664
TAXES 455, 458, 460, 461, 464
TAXEXEMPT 458, 461, 463, 464
TAXID 142, 144, 565
TEMPPASS 143, 143, 144, 566
TFERACTION 459, 466
TICKER 442, 442, 445, 494, 495
TO 162, 167, 168, 169
TOKEN 79, 85, 85, 110, 111, 112, 113, 116,
117, 118, 124, 126, 127, 152, 153, 156,
157, 165, 166, 167, 168, 168, 168, 182,
238, 242, 245, 247, 251, 254, 256, 262,
263, 266, 269, 271, 273, 276, 278, 281,
282, 286, 287, 288, 289, 290, 291, 292,
293, 294, 295, 296, 297, 298, 299, 300,
301, 328, 362, 366, 368, 370, 374, 378,
380, 383, 384, 385, 389, 392, 394, 395,
396, 398, 399, 400, 401, 403, 425, 487,
488, 489, 625, 626
TOKEN2 85, 153, 550, 551
TOKENONLY 117, 117, 153, 157, 166, 287,
289, 291, 293, 294, 296, 298, 300, 384,
395, 398, 400, 488, 550, 625
TOTAL 458, 460, 461, 462, 463, 464, 465, 492
TOTALFEES 224
TOTALINT 225
TRANDNLD 315, 435
TRANIMGAVAIL 81, 596
TRANSFER 466
TRANSPSEC 97, 97, 135, 135
TRNAMT 85, 85, 177, 178, 193, 210, 216, 236,
237, 258, 261, 283, 284, 318, 319, 320,
323, 325, 331, 332, 333, 352, 375, 408,
409, 410, 411, 412, 413, 414, 415, 418,
419, 420, 421, 426, 492
TRNTYPE 210, 212, 318, 492
TRNUID 22, 43, 45, 62, 82, 82, 112, 116, 118,
120, 122, 126, 127, 144, 148, 154, 161,
164, 167, 168, 169, 171, 316, 317, 319,
321, 323, 324, 328, 329, 330, 331, 347,
402, 403, 408, 409, 410, 411, 412, 413,
414, 415, 416, 417, 418, 420, 422, 423,
424, 425, 426, 442, 443, 451, 453, 490,
491, 496, 497, 520, 521, 535, 558, 559,
563, 565, 566, 567, 568, 569, 572, 573,
575, 576, 624
TSKEYEXPIRE 51
TSPHONE 134
TYPEDESC 448
U
UNIQUEID 441, 492, 493, 494, 495
UNIQUEIDTYPE 441, 492, 493, 494, 495
UNITPRICE 431, 445, 459, 460, 461, 464, 466,
472, 492, 493
UNITS 431, 459, 460, 461, 462, 464, 466, 469,
472, 492, 493, 494
UNITSSTREET 473, 473
UNITSUSER 473, 473
UNITTYPE 459, 470
URL 70, 130, 134, 135, 136, 158, 170, 171, 172
USEHTML 162, 163, 163, 164, 166, 167, 168,
169, 298, 300, 384, 488, 550
USERCRED1 48, 50
USERCRED1LABEL 137
USERCRED2 48, 50
USERCRED2LABEL 137
USERID 22, 47, 49, 49, 54, 55, 56, 58, 59, 61,
62, 131, 140, 142, 143, 144, 162, 167,
168, 169, 316, 348, 514, 515, 519, 520,
526, 534, 535, 558, 558, 562, 562, 565,
566, 567, 568, 570, 572, 573, 575, 577,
583, 599, 629
USERKEY 47, 49, 50, 51
USERPASS 22, 47, 49, 50, 102, 104, 131, 140,
316, 558, 558, 562, 562, 565, 583, 599,
628
USPRODUCTTYPE 107, 432, 433, 433
V
VALIDATE 507, 508, 510, 562
VA L U E 77, 493
VER 135, 135, 136
VESTDATE 479
VESTINFO 479
VESTPCT 479
W
WEBENROLL 158, 158
WIREBENEFICIARY 258, 259, 259, 261
WIRECANRQ 262, 262
WIRECANRS 263, 263
WIREDESTBANK 258, 258, 261
OFX 2.1.1 Specification 6655/1/06
WIRERQ 258, 258
WIRERS 260, 261
WIRESYNCRQ 114, 293, 293
WIRESYNCRS 114, 293, 293
WIRETRNRQ 258, 262, 293
WIRETRNRS 261, 263, 293
WIREXFERMSGSET 314
WIREXFERMSGSETV1 42, 302, 314, 315
WIREXFERMSGSRQV1 308, 309, 584
WIREXFERMSGSRSV1 308, 309, 584
WITHDRAWALS 481, 483
WITHHOLDING 459, 461, 463
X
XFERDAYSWITH 406
XFERDEST 148, 191, 192, 197
XFERDFLTDAYSTOPAY 406
XFERINFO 192, 192, 193, 240, 241, 243, 244,
248, 249, 250, 252, 253, 319, 320, 323,
324, 330, 332
XFERPRCCODE 195, 195, 196, 196, 199, 200,
241, 250, 331, 332
XFERPRCSTS 195, 195, 196, 199, 200, 241,
244, 250, 253, 331, 332
XFERPROF 310, 311, 311, 313, 584
XFERSRC 148, 191, 192, 197
Y
YEARTODATE 480, 500
YIELD 447, 449, 494, 495
YIELDTOCALL 446
YIELDTOMAT 446